07.04.2009, 12:35
I put it at the bottom of the script:
and I put in this at forwards:
and then I put the timer in the code:
then I get:
Код:
C:\Users\FrazzFilms\Desktop\Server\gamemodes\penls.pwn(18298) : warning 203: symbol is never used: "gateclosetimer"
Код:
forward gateclosetimer();
Код:
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."); SetTimer("gateclosetimer", 5000, false); return 1; }
Код:
C:\Users\FrazzFilms\Desktop\Server\gamemodes\penls.pwn(18298) : warning 203: symbol is never used: "gateclosetimer"