03.05.2011, 16:13
How i can can put on this command timer and after 2 minutes to can spawn car again
Code:
if (strcmp("/NRG", cmdtext, true, 10) == 0) { if (PlayerInfo[playerid][pDonateRank] >= 3) { new Float:X,Float:Y,Float:Z,Float:Angle, carid; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle); carid = GetPlayerVehicleID(playerid); carid = CreateVehicle(522,X,Y,Z,Angle,-1,-1,600); PutPlayerInVehicle(playerid,carid,0); TogglePlayerControllable(playerid,true); return SendClientMessage(playerid, 0x40FF40FF, "NRG has been spawned!"); } return 1; }