help with commands jail
#4

try this:
pawn Код:
dcmd_jail(playerid,params[]){
if(sscanf(params,"ddz",otherid,time,reason)) return SendClientMessage(playerid,0x33CCFFAA ,"USAGE: /jail [playerid] [time] [reason]");
if(!IsPlayerConnected(otherid)) return SendClientMessage(playerid,0xFF0000AA,"this player isnt conected!");
SetPlayerPos(otherid,197.6661,173.8179,1003.0234);
SetPlayerInterior(otherid,3);
SetTimerEx("unjail",60000,false,"i",otherid);
return 1;
}

pawn Код:
forward unjail(playerid);
public unjail(playerid)
SetPlayerPos(playerid,2336.6738,2456.2771,14.9688);
SetPlayerInterior(playerid,0);
}
Reply


Messages In This Thread
help with commands jail - by mr.b - 06.10.2009, 23:53
Re: help with commands jail - by Jefff - 06.10.2009, 23:55
Re: help with commands jail - by mr.b - 07.10.2009, 00:50
Re: help with commands jail - by sandisk125 - 07.10.2009, 01:03
Re: help with commands jail - by mr.b - 07.10.2009, 01:26
Re: help with commands jail - by sandisk125 - 07.10.2009, 01:38
Re: help with commands jail - by mr.b - 07.10.2009, 01:44

Forum Jump:


Users browsing this thread: 1 Guest(s)