26.07.2011, 00:15
C:\Documents and Settings\Owner\Desktop\03cCore\gamemodes\SRv95.pwn (1466) : error 017: undefined symbol "playerid"
Where the error is
Full code below
Where the error is
Код:
SetPlayerMarkerForPlayer(ra, playerid, 0x2641FEAA);
Код:
public BackupCheck() { if(BackupCaller < 999) { if(IsPlayerConnected(BackupCaller)) { new Float:X,Float:Y,Float:Z; GetPlayerPos(BackupCaller, X, Y, Z); for(new ra=0; ra<MAX_PLAYERS; ra++) { if(IsPlayerConnected(ra) && IsALawEnforcer(ra)) { SetPlayerMarkerForPlayer(ra, playerid, 0x2641FEAA); //SetPlayerCheckpoint(ra,X,Y,Z,3); } } return 1; } else { BackupCaller = 999; for(new ra=0; ra<MAX_PLAYERS; ra++) { if(IsPlayerConnected(ra) && IsALawEnforcer(ra)) { SendClientMessage(ra, COLOR_GRAD1, "Officer needing backup is no longer in range.."); SetPlayerToTeamColor(ra); //DisablePlayerCheckpoint(ra); } } return 0; } } return 0; }