15.07.2012, 17:33
help with this pls
in public OnGameModeInit()
in the publics
when compiling
pawn Код:
new Timera;
new Timerb;
pawn Код:
public OnGameModeInit()
{
Timera = SetTimer("Next",270000,false);
Timerb = SetTimer("Explode",7000,false);
return 1;
}
pawn Код:
forward Exploded(playerid);
public Exploded(playerid)
{
SendClientMessageToAll(COLOR_GREEN, "The bom has been armed, everything is going to explode in 30 seconds!!");
SendClientMessageToAll(COLOR_YELLOW, "Loading next map wait!");
KillTimer(Timer2);
return 1;
}
forward Next(playerid);
public Next(playerid)
{
SendClientMessageToAll(COLOR_YELLOW, "Loading next map wait!");
return 1;
}
pawn Код:
C:\Users\Adrian\Downloads\server 3\gamemodes\gangwars.pwn(214) : warning 204: symbol is assigned a value that is never used: "Timerb"
C:\Users\Adrian\Downloads\server 3\gamemodes\gangwars.pwn(224) : warning 204: symbol is assigned a value that is never used: "Timera"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.