How to fix this?
#1

Код:
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1026) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1031) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1035) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1039) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1043) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1047) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1051) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1055) : error 021: symbol already defined: "AddPlayerClass"
C:\Documents and Settings\s\Desktop\SADM_by_Double_O_Seven\gamemodes\tttt.pwn(1059) : error 021: symbol already defined: "AddPlayerClass"
Код:
AddPlayerClass(167, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(106, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(102, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(114, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);

    AddPlayerClass(163, player_x,player_y,player_z,player_angle, 34,300,34,300,34,300);//hitman
    AddPlayerClass(164, player_x,player_y,player_z,player_angle, 34,300,0,0,0,0);
    AddPlayerClass(147, player_x,player_y,player_z,player_angle, 34,300,0,0,0,0);

    AddPlayerClass(70, player_x,player_y,player_z,player_angle, 4,0,0,0,0,0);//medic
    AddPlayerClass(71, player_x,player_y,player_z,player_angle, 4,0,0,0,0,0);
    AddPlayerClass(276, player_x,player_y,player_z,player_angle, 4,0,0,0,0,0);

    AddPlayerClass(283, player_x,player_y,player_z,player_angle, 3,0,41,500,0,0);//cop
    AddPlayerClass(281, player_x,player_y,player_z,player_angle, 3,0,41,500,0,0);
    AddPlayerClass(285, player_x,player_y,player_z,player_angle, 3,0,41,500,0,0);

    AddPlayerClass(29, player_x,player_y,player_z,player_angle, 42,500,0,0,0,0);//cab driver
    AddPlayerClass(28, player_x,player_y,player_z,player_angle, 42,500,0,0,0,0);
    AddPlayerClass(30, player_x,player_y,player_z,player_angle, 42,500,0,0,0,0);

    AddPlayerClass(191, player_x,player_y,player_z,player_angle, 23,300,15,0,0,0);//Terrorist
    AddPlayerClass(179, player_x,player_y,player_z,player_angle, 23,300,15,0,0,0);
    AddPlayerClass(183, player_x,player_y,player_z,player_angle, 23,300,15,0,0,0);

    AddPlayerClass(50, player_x,player_y,player_z,player_angle, 7,100,0,0,0,0);//Mechanic
    AddPlayerClass(73, player_x,player_y,player_z,player_angle, 8,100,0,0,0,0);
    AddPlayerClass(72, player_x,player_y,player_z,player_angle, 6,100,0,0,0,0);

    AddPlayerClass(244, player_x,player_y,player_z,player_angle, 7,100,0,0,0,0);//Whore
    AddPlayerClass(252, player_x,player_y,player_z,player_angle, 8,100,0,0,0,0);
    AddPlayerClass(178, player_x,player_y,player_z,player_angle, 6,100,0,0,0,0);

    AddPlayerClass(195, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(174, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(108, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(22, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(107, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(230, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
Reply
#2

Bumb
Reply
#3

this usually happens when your code is outside.
I mean outside of the brackets.

just make sure that it's "inside" somewhere


like in OnGamemodeInit
pawn Код:
public OnGameModeInit()
{
    AddPlayerClass(167, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    AddPlayerClass(106, player_x,player_y,player_z,player_angle, 28,100,16,5,28,100);
    //and so on.....
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)