Permalink
Browse files

updated jail.inc

  • Loading branch information...
Totenfluch committed Aug 16, 2017
1 parent 2bfa05d commit 79e36255d52832915082e7dc0ef0cddb3c56c3a3
Showing with 14 additions and 0 deletions.
  1. +14 −0 rpg_jail.inc
View
@@ -31,3 +31,17 @@ native int jail_freeFromJail(int client);
*/
native bool jail_isInJail(int client);
/*
Forward on client jailed
@Param1 -> int client | client that got jailed
@Param2 -> int initiator | client that jailed Param1
*/
forward void jail_OnClientJailed(int client, int initiator);
/*
Forward on client jailed
@Param1 -> int client | client that got jailed
@Param2 -> bool escaped | true -> fled from Prison, false -> was released rightfully
*/
forward void jail_OnClientUnJailed(int client, bool escaped);

0 comments on commit 79e3625

Please sign in to comment.