27.03.2013, 18:02
I have these Errors:
I'm scripting this:
Thanks for Helping
Код:
C:\DOCUME~1\cla\Desktop\SAMP\SAMP03~1\GAMEMO~1\Malta.pwn(1753) : error 017: undefined symbol "SetPlayerToTeamColour" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
public OnPlayerSpawn(playerid) { GangZoneShowForPlayer(playerid, Zone, 0x1BE02896); GangZoneShowForPlayer(playerid, Zone1, 0x0099FF96); GangZoneShowForPlayer(playerid, Zone2, 0xFF040096); GangZoneShowForPlayer(playerid, Zone3, 0x633F8A96); SetPlayerArmour(playerid, 100.0); SetPlayerInterior(playerid, 0); SetPlayerHealth(playerid,99999); SetTimerEx("NoSpawnKill",15000,0,"i",playerid); SetPlayerToTeamColour(playerid); if(gTeam[playerid] == DUELERS) { SetPlayerColor(playerid,0x0099FF96); // Blue } if(gTeam[playerid] == eLEMONators) { SetPlayerColor(playerid,0x1BE02896); // Green } if(gTeam[playerid] == TheCerealKillers) { SetPlayerColor(playerid,0xFF040096); // red } else if(gTeam[playerid] == eLEMONators) { SetPlayerColor(playerid,0x633F8A96); //purple } } return 1; }