Delete
#1

Delete plz
Reply
#2

Script request thread.
Reply
#3

pawn Код:
forward Free(playerid);

CMD:jail(playerid, params[])
{
new otherid, time;
if(sscanf(params, "ui", otherid, time)) return SendClientMessage(playerid, COLOR, "USAGE /jail ID TIME");

SetPlayerPos(otherid, CORDSHERE!);
new newtime = time*60000
SetTimerEx("Free",newtime,0,"d",otherid);
return 1;
}

public Free(playerid)
{
SetPlayerPos(playerid, CORDS);
SendClientMessage(playerid, COLOR, "You're freee!");
}
Did it, but untested.
Reply
#4

Quote:
Originally Posted by actiwe
pawn Код:
forward Free(playerid);

CMD:jail(playerid, params[])
{
new otherid, time;
if(sscanf(params, "ui", otherid, time)) return SendClientMessage(playerid, COLOR, "USAGE /jail ID TIME");

SetPlayerPos(otherid, CORDSHERE!);
new newtime = time*60000
SetTimerEx("Free",newtime,0,"d",otherid);
return 1;


}

public Free(playerid)
{
SetPlayerPos(playerid, CORDS);
SendClientMessage(playerid, COLOR, "You're freee!");
}
Did it, but untested.
Alright thankyou.
But where to put everything in my game mode? :P
And sorry for the wrong thread

I'ts not working I've tryed some things
Reply
#5

I forgot to mention that i used zcmd and sscanf. Look for includes in correct section.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)