new Count,SoGato;// TOPO
public CountDown()
{
if(Count > 0) SoGato = SetTimer("CountDown", 1000, true);
if(Count == 0)
{
GameTextForAll("Go Go Go]", 1000, 3);
KillTimer(SoGato);
Count = 5;
return 1;
}
format(string, sizeof(string),"%d", Count);
GameTextForAll(string,5000,3);
SoundForAll(1056);
return Count--;
}
CountDown();
if(!strcmp(cmdtext, "/contar", true)) return CountDown();
C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(742) : warning 219: local variable "X" shadows a variable at a preceding level C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(742) : warning 219: local variable "Y" shadows a variable at a preceding level C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(742) : warning 219: local variable "Z" shadows a variable at a preceding level C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(1343) : error 017: undefined symbol "CountDown" C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(776) : warning 204: symbol is assigned a value that is never used: "string" C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(776 -- 1350) : error 010: invalid function or declaration C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(776 -- 1355) : error 010: invalid function or declaration C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(776 -- 1355) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
forward CountDown(); ///no topo...
C:\Users\Usuбrio\Desktop\Samp 0.3c Server\gamemodes\elegyworld.pwn(1346) : error 017: undefined symbol "CountDown" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. |
topo....
forward Duel(playerid);
forward Duel4(playerid);
forward Duel3(playerid);
forward Duel2(playerid);
forward Duel1(playerid);
-----------------------
qual quer lugar agora tu poe.....
public Duel(playerid) // A PUBLIC
{
TogglePlayerControllable(playerid, 0);
new string[50];
format(string, sizeof(string), "~r~5"); //MENSAGEN DE CARREGAMENTO
GameTextForPlayer(playerid, string, 600, 6);
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
SetTimerEx("Duel4", 1000, 0,"e",playerid); // O Tempo
return 1;
}
public Duel4(playerid) // A PUBLIC
{
TogglePlayerControllable(playerid, 0);
new string[50];
format(string, sizeof(string), "~r~4"); //MENSAGEN DE CARREGAMENTO
GameTextForPlayer(playerid, string, 600, 6);
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
SetTimerEx("Duel3", 1000, 0,"e",playerid); // O Tempo
return 1;
}
public Duel3(playerid) // A PUBLIC
{
TogglePlayerControllable(playerid, 0);
new string[50];
format(string, sizeof(string), "~r~3"); //MENSAGEN DE CARREGAMENTO
GameTextForPlayer(playerid, string, 600, 6);
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
SetTimerEx("Duel2", 1000, 0,"e",playerid); // O Tempo
return 1;
}
public Duel2(playerid) // A PUBLIC
{
TogglePlayerControllable(playerid, 0);
new string[50];
format(string, sizeof(string), "~r~2"); //MENSAGEN DE CARREGAMENTO
GameTextForPlayer(playerid, string, 600, 6);
PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
SetTimerEx("Duel1", 1000, 0,"e",playerid); // O Tempo
return 1;
}
public Duel1(playerid)
{
TogglePlayerControllable(playerid, 1);
new string[60];
format(string, sizeof(string), "~r~Go Go ~w~!!!");
PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, string, 2000, 1);
return 1;
}