Skip to content

Commit

Permalink
0.0.2 release!
Browse files Browse the repository at this point in the history
New syntax. Record system. Steamid and name length fix.
  • Loading branch information
Kailo97 committed Apr 1, 2015
1 parent 141d32a commit 00d4326
Show file tree
Hide file tree
Showing 2 changed files with 215 additions and 142 deletions.
9 changes: 5 additions & 4 deletions addons/sourcemod/scripting/include/jumpstats.inc
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ enum JumpType
Jump_WHJ,
Jump_LDHJ,
Jump_LBHJ,

Jump_End // Anchor for iteration
};

//Jump consts
new const String:g_saJumpTypes[][] = {
stock const char g_saJumpTypes[][] = {
"None",
"LJ",
"BHJ",
Expand All @@ -30,7 +31,7 @@ new const String:g_saJumpTypes[][] = {
"LDHJ",
"LBHJ"
}
new const String:g_saPrettyJumpTypes[][] = {
stock const char g_saPrettyJumpTypes[][] = {
"None",
"Long Jump",
"BunnyHop Jump",
Expand All @@ -47,9 +48,9 @@ new const String:g_saPrettyJumpTypes[][] = {
* @param client The target player.
* @return True if the jump was successfully interrupted, false otherwise.
*/
native JumpStats_InterruptJump(client);
native bool JumpStats_InterruptJump(int client);

/**
* Called when player do a jump.
*/
forward OnJump(client, JumpType:type, Float:distance);
forward void OnJump(int client, JumpType type, float distance);
Loading

0 comments on commit 00d4326

Please sign in to comment.