16.07.2011, 13:11
Код:
259: public OnPlayerRequestClass(playerid, classid) 260:{ 261: gPlayerClass[playerid] = classid; 262: 263: switch (classid) { case 0: { gTeam[playerid] = TEAM_Party; GameTextForPlayer(playerid, "~g~Party", 1000, 6); } case 1: { gTeam[playerid] = TEAM_Guard; GameTextForPlayer(playerid, "~r~Guard", 1000, 6);
Код:
C:\Users\Jo\Desktop\samp server\gamemodes\test.pwn(261) : error 017: undefined symbol "gPlayerClass" C:\Users\Jo\Desktop\samp server\gamemodes\test.pwn(261) : warning 215: expression has no effect C:\Users\Jo\Desktop\samp server\gamemodes\test.pwn(261) : error 001: expected token: ";", but found "]" C:\Users\Jo\Desktop\samp server\gamemodes\test.pwn(261) : error 029: invalid expression, assumed zero C:\Users\Jo\Desktop\samp server\gamemodes\test.pwn(261) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.