Can't make that jail thing.
#1

How to make a Jail time?, I use this code for my jail

Код:
if(strcmp("/jailtime",cmdtext,true) == 0)
{
format(string,sizeof(string)," %d Seconds",PlayerData[playerid][Prison]);
SendClientMessage(playerid,WHITE,string);
return 1;
}
But, I want that seconds should go down, not only stay at 60 or 120.

Any ideas?
Reply
#2

Try using a timer.
Reply
#3

More like this timer https://sampwiki.blast.hk/wiki/SetTimer
Reply
#4

It can't work with SetTimer, I try SetTimerEx.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)