SA-MP Forums Archive
[AJUDA] Gm Bugado - 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: [AJUDA] Gm Bugado (/showthread.php?tid=337978)

Pages: 1 2


[AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

Ola galera este e meu primeiros post aqui no forum
Se eu estiver no lugar errado me desculpem
Bom tenho um GM Trucking que e muito grande tive um trabalho pra traduzir.
Ele tava na versao 0.3c Legal ate ai tudo bem.
Quando fui passar pra 0.3d para colocar no Host o gm ficou tudo bugado os ID's
Exemplo: Quando ia mandar PM para algum jogador automaticamente ia pro Id 0 .
Quando ia kika alguns Ids tipo acima de 12 ia pro Id 0 era uma confusao enorme um amigo meu
falo que e por causa que os Codes do Gm йra da versao 0.3c e tinha que mudar para a versao 0.3d para arrumar esse bug.

PHP Code:
ta dando uns erros tambem
C
:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4646) : warning 217loose indentation
C
:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4646) : error 029invalid expressionassumed zero
C
:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4646 -- 4647) : warning 215expression has no effect
C
:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4647) : error 001expected token";"but found "return"
C:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4647) : warning 217loose indentation
C
:\Users\usuario\Desktop\2\pawno\include\PPC_PlayerCommands.inc(4653) : warning 225unreachable code
C
:\Users\usuario\Desktop\Nova pasta (2)\Meu GM 0.3d\gamemodes\BrasilTrucker.pwn(1381) : warning 203symbol is never used"Dialog_Neon"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
2 Errors

Aqui o Link 'Download'
Espero que voces me ajudem com esse problema!


Re: [AJUDA] Gm Bugado - Don_Speed - 28.04.2012

Nao foi voce que traduziu esse GM.
Venho Estudando ele a alguns meses.
o Bug dos idґs tem que atualizar os plugins.
e o erro e na Include de Comando.



Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

Voce poderia arrumar ?


Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

ou ajudar a resolver?
Fui sim,
eu peguei o Ingles e traduzi.


Re: [AJUDA] Gm Bugado - Don_Speed - 28.04.2012

poste as linhas do erro da inc
e procure plugins atualizados.


Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

Aqui as linhas

Quote:

// This command sets a skin for the player
COMMANDetskin(playerid, params[])
{
// Setup local variables
new Msg[128], Skin;

// Send the command to all admins so they can see it
SendAdminText(playerid, "/setskin", params);

// Check if the player has logged in
if (APlayerData[playerid][LoggedIn] == true)
{
{
if (sscanf(params, "i", Skin)) SendClientMessage(playerid, 0xFF0000AA, "Use: \"/setskin <skin-id (0-299)>\"");
else
{
// Check if the player entered a valid skin-id
if ((Skin >= 0) && (Skin <= 299))
{
// Set the skin for the player
SetPlayerSkin(playerid, Skin);
// Let the other player know the reason too
format(Msg, 128, "{00FF00}Vocк mudou o Skin: {FFFF00}%i", Skin);
SendClientMessage(playerid, 0xFFFFFFFF, Msg);
}
else
SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}Invalido id skin, use entre 0-299");
}
}
else
return 0;
}
else
return 0;

// Let the server know that this was a valid command
return 1;




Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

e os Plugins eu nao achei ainda.


Re: [AJUDA] Gm Bugado - Don_Speed - 28.04.2012

pawn Code:
COMMAND:setskin(playerid, params[])
{
    new Msg[128], Skin;
    SendAdminText(playerid, "/setskin", params);
    if (APlayerData[playerid][LoggedIn] == true)
    {
        if (APlayerData[playerid][PlayerLevel] >= 0)
        {
            if (sscanf(params, "i", Skin)) SendClientMessage(playerid, 0xFF0000AA, "Use: /setskin [id(0-299)]");
            if ((Skin >= 0) && (Skin <= 299))
            {
                    SetPlayerSkin(playerid, Skin);
                    format(Msg, 128, "{00FF00}Vocк mudou o Skin: {FFFF00}%i", Skin);
                    SendClientMessage(playerid, 0xFFFFFFFF, Msg);
            }
            SendClientMessage(playerid, 0xFFFFFFFF, "{FF0000}[TOM] Skin invбlido use valores entre 0 e 299.");
         }
     }
     return 1;
}



Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

Vc poderia posta os plugins?


Re: [AJUDA] Gm Bugado - Don_Speed - 28.04.2012

Add Msn Vou Tentar Achar Denovo


Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

Oks
olha o meu msn
rodrigogirolamo@hotmail.com


Re: [AJUDA] Gm Bugado - Don_Speed - 28.04.2012

Quote:
Originally Posted by RodrigoGirolamo
Посмотреть сообщение
Oks
olha o meu msn
rodrigogirolamo@hotmail.com
Ta msn dando erro!
To Tentando arrumar.


Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

vc sabe tirar esses Warnings
Quote:

C:\Users\usuario\Desktop\2\pawno\include\PPC_Playe rCommands.inc(4646) : warning 217: loose indentation
C:\Users\usuario\Desktop\Nova pasta (2)\Meu GM 0.3d\gamemodes\BrasilTrucker.pwn(1381) : warning 203: symbol is never used: "Dialog_Neon"




Re: [AJUDA] Gm Bugado - Don_Speed - 28.04.2012

Poste os Codes!!!!


Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

Esse code aqui
Quote:

C:\Users\usuario\Desktop\Brasil Caminhoneiros 0.3c\gamemodes\BrasilTrucker.pwn(1376) : warning 203: symbol is never used: "Dialog_Neon"

A linha do meu GM so vai atй 1375


Re: [AJUDA] Gm Bugado - Don_Speed - 28.04.2012

Procure por Dialog_Neon
e troque para DialogNeon


Re: [AJUDA] Gm Bugado - steeldark - 28.04.2012

Quote:
Originally Posted by RodrigoGirolamo
Посмотреть сообщение
Esse code aqui

A linha do meu GM so vai atй 1375
esse warmn й que vc nгo estб usando o Dialog_Neon em nenhuma parte do codigo.

procure no comeзo do gm:

#define Dialog_Neon

e apague. se acaso vc nгo usa ele.



Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

No meu GM nao tem isso Dialog_Neon e neim DialogNeon
E o Bug dos IDs ainda continua.


Re: [AJUDA] Gm Bugado - Don_Speed - 28.04.2012

As Definiзoes de dialog fica na inc PPC_Defines


Re: [AJUDA] Gm Bugado - RodrigoGirolamo - 28.04.2012

Ja tirei todos os Warnings
E enquanto ao BUG dos IDs
ainda continua :S