C:\\Documents and Settings\\X\\Asztal\\Training.pwn(97) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\X\\Asztal\\Training.pwn(102) : error 029: invalid expression, assumed zero[/quote]Kód: public OnPlayerRequestClass(playerid, classid){SetPlayerPos(playerid, 2145.6780,-73.2986,3.2471);SetPlayerCameraPos(playerid, 2143.4492,-75.6881,2.9760);SetPlayerCameraLookAt(playerid, 2145.6780,-73.2986,3.2471);switch(classid){case 0:{gTeam[playerid] = TEAM_Maffia;GameTextForPlayer(playerid,\"~r~~h~Maffia\",2500,6);}case 1:{gTeam[playerid] = TEAM_POLICE;GameTextForPlayer(playerid,\"~b~~h~Maffia\",2500,6);}}return 1;}
public OnPlayerRequestClass(playerid, classid){SetPlayerPos(playerid, 2145.6780,-73.2986,3.2471);SetPlayerCameraPos(playerid, 2143.4492,-75.6881,2.9760);SetPlayerCameraLookAt(playerid, 2145.6780,-73.2986,3.2471);switch(classid){case 0:{gTeam[playerid] = TEAM_Maffia;GameTextForPlayer(playerid,\"~r~~h~Maffia\",2500,6);}case 1:{gTeam[playerid] = TEAM_POLICE;GameTextForPlayer(playerid,\"~b~~h~Maffia\",2500,6);}}return 1;}