07.04.2009, 12:20
an someone add a 5 second timer to this?
Its a gate.
Код:
if(strcmp(cmd, "/openogate", true) == 0) { // Edit the /eup to your elevator command. if(GetPlayerMoney(playerid) > 250) GivePlayerMoney(playerid,-250); MoveObject(frazzgate,1534.98,-1451.48,9.70,2.00); // Put your cords in here SendClientMessage(playerid, COLOR_RED, "You have 5 seconds to get in."); // You dont alwas have to put this in, delete if wanted. return 1; }