[Ajuda] error:
#1

pawn Код:
Erro:
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3546) : error 017: undefined symbol "pTrazerChucky"
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3546) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3546 -- 3547) : warning 215: expression has no effect
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3547) : error 001: expected token: ";", but found "return"
C:\Users/Admin\Desktop\TESTE\gamemodes\GM.pwn(3547) : fatal error 107: too many error messages on one line
Linha do Erro:

pawn Код:
if(dialogid == 2449)
    {
        if(response == 0)
        {
            SendClientMessage(playerid, COLOR_RED, "Voce Optou por nao ir No Evento de Chucky Norris!");
            PlayerInfo[playerid][pTrazerChucky] = 0)
            return 1;
        }
Reply
#2

TENTA AI '-'

PRIMEIRA TENTATIVA:

Код:
if(dialogid == 2449)
    {
        if(response == 0)
        {
            SendClientMessage(playerid, COLOR_RED, "Voce Optou por nao ir No Evento de Chucky Norris!");
            PlayerInfo[playerid][pTrazerChucky] = 0)
           }
            return 1;
        }




SEGUNDA TENTATIVA
Topo do GM:

Код:
#Define pTrazerChucky
Ou

Код:
#include <pTrazerChucky>
___________________________________
Ajudei?

+Reputation!!

Custa nada meu amigo

Nгo ajudei?

Custa nada agradecer!

MUITO OBRIGADO!
Reply
#3

Quote:
Originally Posted by davi54723
Посмотреть сообщение
TENTA AI '-'

PRIMEIRA TENTATIVA:

Код:
if(dialogid == 2449)
    {
        if(response == 0)
        {
            SendClientMessage(playerid, COLOR_RED, "Voce Optou por nao ir No Evento de Chucky Norris!");
            PlayerInfo[playerid][pTrazerChucky] = 0)
           }
            return 1;
        }




SEGUNDA TENTATIVA
Topo do GM:

Код:
#Define pTrazerChucky
Ou

Код:
#include <pTrazerChucky>
___________________________________
Ajudei?

+Reputation!!

Custa nada meu amigo

Nгo ajudei?

Custa nada agradecer!

MUITO OBRIGADO!
Wan?

Nгo seria mais facil definir o pTrazerChucky no sistema de salvamento?

Ex:

pawn Код:
enum pInfo =
{
pAdmin,
pTrazerChucky,
};
new PlayerInfo[MAX_PLAYERS][pInfo];
Reply
#4

hihihih

Sou cabacinho ainda, liga naum '-'
Reply
#5

pawn Код:
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3546) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3546) : warning 215: expression has no effect
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3556) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3556) : warning 215: expression has no effect
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3556) : error 001: expected token: ";", but found "]"
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3556) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3556) : fatal error 107: too many error messages on one line
Linha:

pawn Код:
if(response == 1)
        {
        if(PlayerInfo[playerid][pJailed] != 0)
            {
                SendClientMessage(playerid,COR_PM,"ERRO* Vocк esta preso e nao pode ir no Evento de Chucky Norris!");
                   Trazervs[playerid] = 0;
                   return 0;
            }
Reply
#6

pawn Код:
if(response == 1)
{
    if(PlayerInfo[playerid][pJailed] != 0)
    {
        SendClientMessage(playerid,COR_PM,"ERRO* Vocк esta preso e nao pode ir no Evento de Chucky Norris!");
        Trazervs[playerid] = 0;
        return 0;
    }
}
Vocк definiu o Trazervs[MAX_PLAYERS]; no topo do gamemode?
Reply
#7

/\

Assim?
pawn Код:
#define Trazervs
ou

pawn Код:
new Trazervs[MAX_PLAYERS];
Reply
#8

new Trazervs[MAX_PLAYERS];
Reply
#9

pawn Код:
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3546) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3546) : warning 215: expression has no effect
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3556) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3556) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3556 -- 3557) : warning 215: expression has no effect
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3557) : error 001: expected token: ";", but found "return"
C:\Users\Admin\Desktop\TESTE\gamemodes\GM.pwn(3557) : fatal error 107: too many error messages on one line
Reply
#10

Manda a linha inicial que comeзa o erro.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)