29.12.2014, 20:32
Код:
C:\Users\Mace\Desktop\LS Gang Wars\gamemodes\Gang_Wars_LS.pwn(58) : error 017: undefined symbol "SetPlayerTeamFromClass" C:\Users\Mace\Desktop\LS Gang Wars\gamemodes\Gang_Wars_LS.pwn(181) : error 017: undefined symbol "SetPlayerToTeamColour" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Код:
public OnPlayerRequestClass(playerid, classid) { SetPlayerTeamFromClass(playerid, classid) // Line 58 { if(classid == 0) { gTeam[playerid] = GROVE; SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); }
Код:
public OnPlayerSpawn(playerid) { SetPlayerToTeamColour(playerid) // Line 181 { if(gTeam[playerid] == GROVE) { SetPlayerColor(playerid, GROVE_COLOUR); }