[Ajuda] Como resolve
#1

C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(95) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(112) : error 001: expected token: ",", but found "."
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(112) : error 029: invalid expression, assumed zero
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(112) : error 029: invalid expression, assumed zero
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(112) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#2

Quote:
Originally Posted by HusteD
Посмотреть сообщение
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(95) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(112) : error 001: expected token: ",", but found "."
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(112) : error 029: invalid expression, assumed zero
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(112) : error 029: invalid expression, assumed zero
C:\Users\Enzo\Desktop\Server de RPG\gamemodes\GMD.pwn(112) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Manda as linhas dos erros, 95 atй a 112
Reply
#3

e mano alguns cmds nгo querem funcionar no caso eu acho que todos aki

// FORWARDS
AddPlayerClass(188,1739.5986,-1622.1846,13.5469,0.0001,0,0,0,0,0,0); //
forward AtualizarPlayer(playerid);
forward KickPlayer(playerid);
forward BanPlayer(playerid);
forward OnPlayerRaceCheckpoint(playerid, CPMaisMais);
forward TempoVolta(playerid);
forward CongelarPlayers();
forward ReprandoVeiculos();
forward ContagemEvento();

main()
{
print("\nGameMode carregada com sucesso!\n\n");
}

public OnGameModeInit()
{
pub_Car[0] = AddStaticVehicleEx(560, Float:188,1704, Float:7576,-1620., Float:2540,13., Float:5546,359., 10, 10, 5000);

95 ate 112
Reply
#4

o AddPlayerClass estб em alguma public ?
Reply
#5

Mano, remova esses Float: nem precisa disso e vocк estб colando "." nos finais dos nъmeros remova isso.

Й pro comando ficar mais ou menos assim
PHP код:
AddStaticVehicleEx(560188.17047576.-16202540.135546.35910105000); 
Reply
#6

Remova a tag Float: das coordenadas, e remova essas pontuaзхes antes das virgulas, e AddPlayerClass recomendo colocar em OnGameModeInit
Reply
#7

PHP код:
#include <a_samp>

forward AtualizarPlayer(playerid),
forward KickPlayer(playerid);
forward BanPlayer(playerid);
forward OnPlayerRaceCheckpoint(playeridCPMaisMais);
forward TempoVolta(playerid);
forward CongelarPlayers();
forward ReprandoVeiculos();
forward ContagemEvento();


main()
{
    print(
"\n----------------------------------");
    print(
"\nGameMode carregada com sucesso!\n\n");
    print(
"----------------------------------\n");
}

public 
OnGameModeInit()
{
    
AddPlayerClass(1881739.5986, -1622.184613.54690.0001000000);
    
pub_Car[0] = AddStaticVehicleEx(560188.17047576.-16202540.135546.35910105000);
    return 
1;

Reply
#8

blz consegui agora na outra gm

C:\Users\Enzo\Desktop\Scavenge And Anormality Survivor\gamemodes\survive.pwn(139) : fatal error 100: cannot read from file: "modulos/admin.inc"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
deve ter mas erros como esse.
Reply
#9

Quote:
Originally Posted by HusteD
Посмотреть сообщение
blz consegui agora na outra gm

C:\Users\Enzo\Desktop\Scavenge And Anormality Survivor\gamemodes\survive.pwn(139) : fatal error 100: cannot read from file: "modulos/admin.inc"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
deve ter mas erros como esse.
Coloca a include admin.inc dentro da pasta modulos
Reply
#10

Quote:
Originally Posted by HusteD
Посмотреть сообщение
blz consegui agora na outra gm

C:\Users\Enzo\Desktop\Scavenge And Anormality Survivor\gamemodes\survive.pwn(139) : fatal error 100: cannot read from file: "modulos/admin.inc"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
deve ter mas erros como esse.
A Gamemode nгo estб conseguindo ler o arquivo "Admin.inc" que estб localizado dentro da pasta gamemodes. Adicione ele dentro da pasta gamemodes/modulos/
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)