10.04.2010, 03:35
Ok ive change it to this but get these errors.
Code:
C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(179) : error 017: undefined symbol "classid" C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(179) : error 036: empty statement C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(181) : error 010: invalid function or declaration C:\Users\alex\Desktop\Streets of los santos\gamemode\SW-LS.pwn(183) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Code:
public OnPlayerCommandText(playerid, cmdtext[]) { if (classid == 106 || classid == 105 || classid == 107); } if (classid[playerid] == classid == 106 || classid == 105 || classid == 107) { SendClientMessage(playerid,TEAM_GROVE_COLOR) return 1; }