[Ajuda] erro no /setadmin
#1

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.
Reply
#2

Nгo Estб Definido -' o giveplayerid e o giveplayer

Edit....
pawn Код:
new giveplayerid;
new giveplayer[MAX_PLAYER_NAME];
Reply
#3

Quote:
Originally Posted by iSmir
Посмотреть сообщение
Nгo Estб Definido -' o giveplayerid e o giveplayer
manda certin ae .
Reply
#4

Editei lб..

pawn Код:
new giveplayerid;
new giveplayer[MAX_PLAYER_NAME];
Reply
#5

Acho que й isso mesmo, testa ai.

pawn Код:
new giveplayerid; // Embaixo das defines
new giveplayer[MAX_PLAYER_NAME]; // Embaixo das defines
Reply
#6

deu esses erros
PHP код:
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(581) : error 017undefined symbol "sendername"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(581) : error 017undefined symbol "sendername"
C:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(581) : error 029invalid expressionassumed zero
C
:\Users\Lan House WWW\Desktop\Nova pasta\gamemodes\EquipeFB.pwn(581) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

Reply
#7

coloca..
pawn Код:
new sendername[MAX_PLAYER_NAME];// Topo do GM
Reply
#8

Manda o code que estб na linha do erro.
Reply
#9

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);
Reply
#10

PHP код:
GetPlayerName(playeridgiveplayersizeof(giveplayer)); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)