26.12.2012, 00:07
how to make that player can use this command every 1 minute?
Код:
CMD:flip(playerid, params[]) { new currentveh, Float:angle; currentveh = GetPlayerVehicleID(playerid); if(PlayerInfo[playerid][pAdmin] < 1)return SendClientMessage(playerid, COLOR_WHITE, "Samo Admini i V.I.P igraci"); else if(PlayerInfo[playerid][VIP] < 1)return SendClientMessage(playerid, COLOR_WHITE, "Samo Admini i V.I.P igraci"); GetVehicleZAngle(currentveh, angle); SetVehicleZAngle(currentveh, angle); GameTextForPlayer(playerid, "~g~Preokrenuto", 2000, 5); return 1; }