[Ajuda] erro no /setadmin -
rodrigooo - 04.12.2012
linha
pawn Код:
if(strcmp(cmd,"/setadmin",true) == 0)
{
new Level;
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); //linha 577
error
pawn Код:
C:\Users\*****\Desktop\Nova pasta\gamemodes\*******.pwn(577) : error 017: undefined symbol "giveplayerid"
C:\Users\***********\Desktop\Nova pasta\gamemodes\****B.pwn(577) : error 017: undefined symbol "giveplayer"
C:\Users\*********\Desktop\Nova pasta\gamemodes\****.pwn(577) : error 029: invalid expression, assumed zero
C:\Users\*******\Desktop\Nova pasta\gamemodes\****.pwn(577) : 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.
Re: [Ajuda] erro no /setadmin -
smiiir - 04.12.2012
Nгo Estб Definido -' o giveplayerid e o giveplayer
Edit....
pawn Код:
new giveplayerid;
new giveplayer[MAX_PLAYER_NAME];
Re: [Ajuda] erro no /setadmin -
rodrigooo - 04.12.2012
Quote:
Originally Posted by iSmir
Nгo Estб Definido -' o giveplayerid e o giveplayer
|
manda certin ae .
Re: [Ajuda] erro no /setadmin -
smiiir - 04.12.2012
Editei lб..
pawn Код:
new giveplayerid;
new giveplayer[MAX_PLAYER_NAME];
Re: [Ajuda] erro no /setadmin -
sofina - 04.12.2012
Acho que й isso mesmo, testa ai.
pawn Код:
new giveplayerid; // Embaixo das defines
new giveplayer[MAX_PLAYER_NAME]; // Embaixo das defines
Re: [Ajuda] erro no /setadmin -
rodrigooo - 04.12.2012
deu esses erros
PHP код:
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(581) : error 017: undefined symbol "sendername"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(581) : error 017: undefined symbol "sendername"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(581) : error 029: invalid expression, assumed zero
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(581) : 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.
Re: [Ajuda] erro no /setadmin -
smiiir - 04.12.2012
coloca..
pawn Код:
new sendername[MAX_PLAYER_NAME];// Topo do GM
Re: [Ajuda] erro no /setadmin -
sofina - 04.12.2012
Manda o code que estб na linha do erro.
Re: [Ajuda] erro no /setadmin -
rodrigooo - 04.12.2012
Quote:
Originally Posted by iSmir
coloca..
pawn Код:
new sendername[MAX_PLAYER_NAME];// Topo do GM
|
agora deu esses erros
pawn Код:
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(629) : error 017: undefined symbol "tmp"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(630) : error 017: undefined symbol "tmp"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(635) : error 017: undefined symbol "tmp"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(636) : error 017: undefined symbol "tmp"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(637) : error 017: undefined symbol "tmp"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(642) : error 017: undefined symbol "tmp"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(663) : error 017: undefined symbol "string"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(663) : error 017: undefined symbol "string"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(663) : error 029: invalid expression, assumed zero
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(663) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.
primeira linha do erro
pawn Код:
tmp = strtok(cmdtext, idx);
Re: [Ajuda] erro no /setadmin -
Nice-.- - 04.12.2012
PHP код:
GetPlayerName(playerid, giveplayer, sizeof(giveplayer));