08.10.2014, 05:54
pawn Код:
C:\Users\PANNAWIT\Desktop\samp\gamemodes\WW3.pwn(93) : error 017: undefined symbol "gPlayerClass"
C:\Users\PANNAWIT\Desktop\samp\gamemodes\WW3.pwn(93) : warning 215: expression has no effect
C:\Users\PANNAWIT\Desktop\samp\gamemodes\WW3.pwn(93) : error 001: expected token: ";", but found "]"
C:\Users\PANNAWIT\Desktop\samp\gamemodes\WW3.pwn(93) : error 029: invalid expression, assumed zero
C:\Users\PANNAWIT\Desktop\samp\gamemodes\WW3.pwn(93) : fatal error 107: too many error messages on one line
pawn Код:
if(gPlayerClass[playerid] == SOLDIER)//This is for the First soldier class.
{
TogglePlayerControllable(playerid, 1);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 31, 200);//m4
GivePlayerWeapon(playerid, 25, 100);//mp5
GivePlayerWeapon(playerid, 24, 70);//deagle
line 93 is
pawn Код:
if(gPlayerClass[playerid] == SOLDIER)