help with commands jail
#1

hi i try make a jail command with dcmd but i have a problem with a timer

Quote:

new otherid,reason,time;

Quote:

dcmd(jail,4,cmdtext);

Quote:

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(arrestadoid,197.6661,173.8179,1003.02 34);
SetPlayerInterior(arrestadoid,3);
SetTimerEx("unjail",60000*time,false,"i",otherid);
return 1;
}

Quote:

forward unjail();
public unjail(){
SetPlayerPos(arrestadoid,2336.6738,2456.2771,14.96 8;
SetPlayerInterior(arrestadoid,0);
}

i have a problem with the timer it don't execute
how can fix it?
thaks
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)