-
Notifications
You must be signed in to change notification settings - Fork 0
/
EntityTools.sp
37 lines (29 loc) · 1.17 KB
/
EntityTools.sp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#pragma semicolon 1
#pragma newdecls required
#include <sdktools>
#include "EntityTools/cmds.sp"
#include "EntityTools/util.sp"
public Plugin myinfo =
{
name = "EntityTools",
author = "Danil42Russia",
version = "0.1",
url = "http://vk.com/danil42russia"
}
/*
sm_et_ep <[x/y/z]> <величина>
sm_et_ep <[x/y/z]> <[+/-]> <величина>
sm_et_ea <[x/y/z]> <величина [0..360]>
sm_et_ea <[x/y/z]> <[+/-]> <величина [0..360]>
sm_et_ev <величина [0..255]>
sm_et_ev <[+/-]> <величина [0..255]>
sm_et_ec <hex>
sm_et_ec <[r/g/b]> <величина [0..255]>
sm_et_ec <[r/g/b]> <[+/-]> <величина [0..255]>
*/
public void OnPluginStart() {
RegAdminCmd("sm_et_ep", EtEditPositionCmd, ADMFLAG_ROOT, "sm_et_ep <[x/y/z]> <[+/-] величина>");
RegAdminCmd("sm_et_ea", EtEditAngleCmd, ADMFLAG_ROOT, "sm_et_ea <[x/y/z]> <[+/-] величина [-360..360]>");
RegAdminCmd("sm_et_ev", EtEditVisibilityCmd, ADMFLAG_ROOT, "sm_et_ev <[+/-] величина [0..255]>");
RegAdminCmd("sm_et_ec", EtEditColorCmd, ADMFLAG_ROOT, "sm_et_ec <[r/g/b]> <[+/-] величина [0..255]>");
}