Im making a simple /arrest
#1

As the title says, Im making a simple /arrest command,
And i want it timed, I know how to do that, SetTimer ect,
But if i do...

pawn Code:
public ArrestTimer(playerid)
{
SpawnPlayer(playerid);
}
It spawns everyone when the times ran out, I know that,
I tried using, if(Arrest[playerid] == 1) or whatever it was,
But it releases everyone whos jailed, Even if there time isent up,
So what should i do?
Reply
#2

Are you using SetTimerEx or SetTimer? They are different and you'll need to use the first one.
Reply
#3

Quote:
Originally Posted by SAWC™
Are you using SetTimerEx or SetTimer? They are different and you'll need to use the first one.
He doesn't use anything yet..
And of course he will use SetTimerEx if it's for a specific value.
Reply
#4

How to use SetTimerEx, I never known how
Reply
#5

Bump
Reply
#6

forward Test();

SetTimer("Test","time you want",1);

I think

Reply
#7

nope its SetTimerEx

and its CLICK ==> SetTimerEx
Reply
#8

Quote:
Originally Posted by DarK_TeaM PT
nope its SetTimerEx

and its CLICK ==> SetTimerEx
o sorry SetTimerEx

well just search on sa-mp wiki then
Reply
#9

pawn Code:
SetTimerEx("ArrestTimer", 7000, 0, "i", playerid);
you would make it like that not SetTimer as thats for everyone.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)