Timer On Teleport
#1

Hello, i'm trying to put a timer on my teleport so people can only use the /telehome command once every Min.
iv'e looked on Wiki, and the timer made no sense to me, so how would i put a timer on this?:
Quote:

if(strcmp(cmdtext,"/Telehome",true)==0)
{
if(IsPlayerInAnyVehicle(playerid))
{
new vehicleid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehicleid, 2167.8123,1422.5269,10.8203);
}
else
{
SetPlayerPos(playerid, 2167.8123,1422.5269,10.8203);
}
}
return 1;
}

Reply


Messages In This Thread
Timer On Teleport - by Lemonaidz - 27.02.2013, 04:02
Re: Timer On Teleport - by RajatPawar - 27.02.2013, 04:47
Re: Timer On Teleport - by zSuYaNw - 27.02.2013, 04:55
Re: Timer On Teleport - by Lemonaidz - 27.02.2013, 05:07
Re: Timer On Teleport - by mittukuttan - 27.02.2013, 05:59

Forum Jump:


Users browsing this thread: 1 Guest(s)