19.03.2010, 20:35
i am makeing an arest command and im doing ok so far i got this
And it works fine but i need a timer to start that when its over will let the person out of the cell
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; } |