[AJUDA] Gm Bugado
#1

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

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

Voce poderia arrumar ?
Reply
#4

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

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

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;

Reply
#7

e os Plugins eu nao achei ainda.
Reply
#8

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;
}
Reply
#9

Vc poderia posta os plugins?
Reply
#10

Add Msn Vou Tentar Achar Denovo
Reply
#11

Oks
olha o meu msn
rodrigogirolamo@hotmail.com
Reply
#12

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

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"

Reply
#14

Poste os Codes!!!!
Reply
#15

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
Reply
#16

Procure por Dialog_Neon
e troque para DialogNeon
Reply
#17

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

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

As Definiзoes de dialog fica na inc PPC_Defines
Reply
#20

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


Forum Jump:


Users browsing this thread: 1 Guest(s)