jail timer
#1

i am makeing an arest command and im doing ok so far i got this

Quote:

zcmd(arrest,playerid,params[])
{
if((surrendered) == 1)
{
if(!sscanf(params,"u",playerid))
{
SetPlayerPos(playerid, 264.4549,77.4930,1001.0391);
SetPlayerInterior(playerid, 6);
}
else SendClientMessage(playerid,0xFF3300AA,"player is not wanted]");
}
if((wanted) == 0)
{
SendClientMessage(playerid,0xFF3300AA,"Player is not wanted");
}

return 1;
}

And it works fine but i need a timer to start that when its over will let the person out of the cell
Reply
#2

Use SetTimerEx
or SetTimer
Reply
#3

Quote:
Originally Posted by _Saif_
Use SetTimerEx
or SetTimer
How do i use that?
Reply
#4

Quote:
Originally Posted by abineri
How do i use that?
https://sampwiki.blast.hk/wiki/SetTimer / https://sampwiki.blast.hk/wiki/SetTimerEx
Reply
#5

Quote:
Originally Posted by abineri
Quote:
Originally Posted by _Saif_
Use SetTimerEx
or SetTimer
How do i use that?
You can also find their Usage by SetTimer(//Press CTRL

it will show the usage of it ' in pawno'
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)