Skip to content

Commit 00d4326

Browse files
committed
0.0.2 release!
New syntax. Record system. Steamid and name length fix.
1 parent 141d32a commit 00d4326

File tree

2 files changed

+215
-142
lines changed

2 files changed

+215
-142
lines changed

addons/sourcemod/scripting/include/jumpstats.inc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ enum JumpType
1616
Jump_WHJ,
1717
Jump_LDHJ,
1818
Jump_LBHJ,
19+
1920
Jump_End // Anchor for iteration
2021
};
2122

2223
//Jump consts
23-
new const String:g_saJumpTypes[][] = {
24+
stock const char g_saJumpTypes[][] = {
2425
"None",
2526
"LJ",
2627
"BHJ",
@@ -30,7 +31,7 @@ new const String:g_saJumpTypes[][] = {
3031
"LDHJ",
3132
"LBHJ"
3233
}
33-
new const String:g_saPrettyJumpTypes[][] = {
34+
stock const char g_saPrettyJumpTypes[][] = {
3435
"None",
3536
"Long Jump",
3637
"BunnyHop Jump",
@@ -47,9 +48,9 @@ new const String:g_saPrettyJumpTypes[][] = {
4748
* @param client The target player.
4849
* @return True if the jump was successfully interrupted, false otherwise.
4950
*/
50-
native JumpStats_InterruptJump(client);
51+
native bool JumpStats_InterruptJump(int client);
5152

5253
/**
5354
* Called when player do a jump.
5455
*/
55-
forward OnJump(client, JumpType:type, Float:distance);
56+
forward void OnJump(int client, JumpType type, float distance);

0 commit comments

Comments
 (0)