D:\samp03\Owna\gamemodes\BSG.pwn(55352) : error 029: invalid expression, assumed zero
D:\samp03\Owna\gamemodes\BSG.pwn(55352) : error 012: invalid function call, not a valid address
D:\samp03\Owna\gamemodes\BSG.pwn(55352) : warning 215: expression has no effect
D:\samp03\Owna\gamemodes\BSG.pwn(55352) : error 001: expected token: ";", but found ")"
D:\samp03\Owna\gamemodes\BSG.pwn(55352) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
public GuerranoAero(playerid)
{
new string[128];
new playername[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
if(ProvocoAero[playerid] == 1)
{
if(IsPlayerInAero(playerid))
{
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Mid NighT Club Dominaram o Aero!",playername);
SendClientMessageToAll(COR_MID, string);
SendClientMessage(playerid, COLOR_GRAD5, "Vocк dominou o casarгo, a cada 3 minutos nela ganharб grana.");
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero,COR_MID);
Dominando[playerid] = 0;
ProvocoAero[playerid] = 0;
GuerranoAero = 0;
donoAero = 1;
KillTimer(TempoGuerraAero);
return 1;
}
else
{
SendClientMessage(playerid, COR_MID, "Vocк nгo estб no Aero.");
Dominando[playerid] = 0;
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero, 0xFFFFFF96);
ProvocoAero[playerid] = 0;
GuerranoAero = 0;
donoAero = 0;
KillTimer(TempoGuerraAero);
return 1;
}
}
}
return 1;
}
new GuerranoAero;
new GuerranoAero2;
Procura por "IsPlayerInAero(playerid)" no seu gamemode e posta.
@Edit Procure por pawn Код:
pawn Код:
|
}
}
return 1;
}
Llamada GuerranoAero(playerid)
{
new string[128];
new playername[MAX_PLAYER_NAME];
if(PlayerInfo[playerid][pMembro] == 23 || PlayerInfo[playerid][pLider] == 23)
{
if(ProvocoAero[playerid] == 1)
{
if(IsPlayerInAero(playerid))
{
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s e o Mid NighT Club Dominaram o Aero!",playername);
SendClientMessageToAll(COR_MID, string);
SendClientMessage(playerid, COLOR_GRAD5, "Vocк dominou o casarгo, a cada 3 minutos nela ganharб grana.");
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero,COR_MID);
Dominando[playerid] = 0;
ProvocoAero[playerid] = 0;
donoAero = 1;
KillTimer(TempoGuerraAero);
}
else
{
SendClientMessage(playerid, COR_MID, "Vocк nгo estб no Aero.");
Dominando[playerid] = 0;
GangZoneStopFlashForAll(GZAero);
GangZoneShowForAll(GZAero, 0xFFFFFF96);
ProvocoAero[playerid] = 0;
donoAero = 0;
KillTimer(TempoGuerraAero);
}
}
}
return 1;
}
public GuerranoAero(playerid)