SA-MP Forums Archive
ERRO DOMINAR TERRITORIO - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: ERRO DOMINAR TERRITORIO (/showthread.php?tid=230017)



ERRO DOMINAR TERRITORIO - EoProzinhO - 22.02.2011

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)
        {
'-'


Re: ERRO DOMINAR TERRITORIO - Ricop522 - 22.02.2011

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);
        }



Re: ERRO DOMINAR TERRITORIO - zbt_Daimyo - 22.02.2011

retire isso la em baixo

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


Re: ERRO DOMINAR TERRITORIO - EoProzinhO - 22.02.2011

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


Re: ERRO DOMINAR TERRITORIO - EoProzinhO - 22.02.2011

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.



Re: ERRO DOMINAR TERRITORIO - zbt_Daimyo - 22.02.2011

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


Re: ERRO DOMINAR TERRITORIO - Miqueias Barros - 24.02.2011

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.


Re: ERRO DOMINAR TERRITORIO - Macintosh - 24.02.2011

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 .-.