27.02.2013, 04:02
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?:
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; } |