File tree 2 files changed +215
-142
lines changed
addons/sourcemod/scripting 2 files changed +215
-142
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ enum JumpType
16
16
Jump_WHJ ,
17
17
Jump_LDHJ ,
18
18
Jump_LBHJ ,
19
+
19
20
Jump_End // Anchor for iteration
20
21
};
21
22
22
23
//Jump consts
23
- new const String : g_saJumpTypes [][] = {
24
+ stock const char g_saJumpTypes [][] = {
24
25
" None" ,
25
26
" LJ" ,
26
27
" BHJ" ,
@@ -30,7 +31,7 @@ new const String:g_saJumpTypes[][] = {
30
31
" LDHJ" ,
31
32
" LBHJ"
32
33
}
33
- new const String : g_saPrettyJumpTypes [][] = {
34
+ stock const char g_saPrettyJumpTypes [][] = {
34
35
" None" ,
35
36
" Long Jump" ,
36
37
" BunnyHop Jump" ,
@@ -47,9 +48,9 @@ new const String:g_saPrettyJumpTypes[][] = {
47
48
* @param client The target player.
48
49
* @return True if the jump was successfully interrupted, false otherwise.
49
50
*/
50
- native JumpStats_InterruptJump (client );
51
+ native bool JumpStats_InterruptJump (int client );
51
52
52
53
/* *
53
54
* Called when player do a jump.
54
55
*/
55
- forward OnJump (client , JumpType : type , Float : distance );
56
+ forward void OnJump (int client , JumpType type , float distance );
You can’t perform that action at this time.
0 commit comments