...Timed gate?
#3

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


Messages In This Thread
...Timed gate? - by FrazZ - 07.04.2009, 12:20
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 12:26
Re: ...Timed gate? - by FrazZ - 07.04.2009, 12:35
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 12:37
Re: ...Timed gate? - by FrazZ - 07.04.2009, 12:45
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 12:49
Re: ...Timed gate? - by FrazZ - 07.04.2009, 13:06
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 13:22
Re: ...Timed gate? - by FrazZ - 07.04.2009, 13:36
Re: ...Timed gate? - by Weirdosport - 07.04.2009, 14:25

Forum Jump:


Users browsing this thread: 1 Guest(s)