26.01.2010, 22:18
Delete plz
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!");
}
Originally Posted by actiwe
pawn Код:
|