Please Help... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Please Help... (
/showthread.php?tid=592941)
Please Help... -
sheeraz - 31.10.2015
We want to make a jail/unjail command with this. I need some help i want a jail system with unjail timer so that when timer stops the players gets out of the jail. and if a player disconnects its jail time remains same when he connects back.. i hope you get my point. pls help.
COMMAND:jail(playerid,cmdtext)
{
if(PlayerInfo[playerid][pFaction] == 0 || PlayerInfo[playerid][pFaction] == 2)
{
return SendClientMessage(playerid,0xf81414ff,"Your Rank Is Too Low To Use This Command");
}
if(IsPlayerAdmin(playerid) || PlayerInfo[playerid][pFaction] == 1 || PlayerInfo[playerid][pFacrank] >= 0)
{