ERRO DOMINAR TERRITORIO
#1

AI GALERA EU VI UM TUTO DE POR UMAS GANGZONAS NO GM E TAL
MAIS NA HORA DE COPILAR TA DANDO
ERRO '-', FIZ PASSO A PASSO

pawn Код:
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : error 029: invalid expression, assumed zero
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : warning 215: expression has no effect
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : error 001: expected token: ";", but found ")"
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : error 029: invalid expression, assumed zero
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : 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.
pawn Код:
if(PlayerInfo[playerid][pMember] == 5|| PlayerInfo[playerid][pLeader] == 5)//nъmero da org/gg no caso no meu gm os ballas sгo o 5
        {
        new string[128];
            new nome[MAX_PLAYER_NAME];
            GetPlayerName(playerid, nome, sizeof(nome));
        format(string,sizeof(string),"%s e os Ballas estгo dominando a Pista de Skate!",nome);
        SendClientMessageToAll(0xD900D3C8,string);
        GangZoneFlashForAll(skategz, 0xD900D3C8);
        SetTimerEx("ballasdominou", 30000, 0,"e",playerid);
        }
   if(PlayerInfo[playerid][pMember] == 5|| PlayerInfo[playerid][pLeader] ==5)
        {
'-'
Reply
#2

pawn Код:
if(PlayerInfo[playerid][pMember] == 5|| PlayerInfo[playerid][pLeader] == 5)//nъmero da org/gg no caso no meu gm os ballas sгo o 5
        {
            new string[128];
            new nome[MAX_PLAYER_NAME];
            GetPlayerName(playerid, nome, sizeof(nome));
            format(string,sizeof(string),"%s e os Ballas estгo dominando a Pista de Skate!", nome");
            SendClientMessageToAll(0xD900D3C8,string);
            GangZoneFlashForAll(skategz, 0xD900D3C8);
            SetTimerEx("
ballasdominou", 30000, 0,"e",playerid);
        }
Reply
#3

retire isso la em baixo

if(PlayerInfo[playerid][pMember] == 5|| PlayerInfo[playerid][pLeader] ==5)
{
Reply
#4

eu fiz igual a esse tuto
https://sampforum.blast.hk/showthread.php?tid=180964
Reply
#5

eu tirei deu isso
pawn Код:
D:\SAMP 0.3 Server\pawno\include\dutils.inc(28) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\pawno\include\dutils.inc(132) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\pawno\include\dutils.inc(172) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\pawno\include\dutils.inc(280) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\pawno\include\dutils.inc(337) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\pawno\include\dutils.inc(379) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(463) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(6606) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(6622) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(6638) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(6669) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8296) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8516) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8517) : warning 219: local variable "nome" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8526) : warning 219: local variable "string" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8527) : warning 219: local variable "nome" shadows a variable at a preceding level
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : error 029: invalid expression, assumed zero
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : warning 215: expression has no effect
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : error 001: expected token: ";", but found ")"
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : error 029: invalid expression, assumed zero
D:\SAMP 0.3 Server\filterscripts\LucaSAdmin.pwn(8531) : 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
#6

verifica certo o codigo, ve se nao tiro nada de errado e ve se tem o return
Reply
#7

Tipo define o "string" no topo do gm.

Код:
new string[256];
Agora vai atй a linha da gangzone que tava dando erro, e troca pelo que Ricop522 fez, copila e fala o que deu.
Reply
#8

Quote:
Originally Posted by Miqueias Barros
Посмотреть сообщение
Tipo define o "string" no topo do gm.

Код:
new string[256];
Agora vai atй a linha da gangzone que tava dando erro, e troca pelo que Ricop522 fez, copila e fala o que deu.
Vocк Bebeu?
Tem de apagar as strings que jб foram definidas nгo criar mais .-.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)