Player marker still showing
#1

I've got this piece of code in OnPlayerSpawn:
pawn Code:
if(GetPVarInt(playerid, "Aduty") == 1)
        {
            SetPlayerSkin(playerid, 294);
            SetPlayerColor(playerid, COLOR_WHITE);
            GivePlayerWeapon(playerid, 35, 0);
            GivePlayerWeapon(playerid, 38, 11000);
            for(new i = 0; i < MAX_PLAYERS; i++) SetPlayerMarkerForPlayer(i, playerid, GetPlayerColor(playerid) & 0xFFFFFF00);
        }
Everything works fine here except the player marker, when the player spawns his marker turns white instead of being invisible.

BTW this is for a spectating system, so that if the player was on duty and stopped spectating, it should return everything to normal.
Reply


Messages In This Thread
Player marker still showing - by YoYo123 - 14.02.2013, 15:42
Re: Player marker still showing - by Vince - 14.02.2013, 15:53
Re: Player marker still showing - by YoYo123 - 14.02.2013, 16:15
Re: Player marker still showing - by -Shifty- - 14.02.2013, 16:17
Re: Player marker still showing - by Vince - 14.02.2013, 16:24
Re: Player marker still showing - by YoYo123 - 14.02.2013, 16:29
Re: Player marker still showing - by DaRk_RaiN - 14.02.2013, 16:32
Re: Player marker still showing - by Snich - 11.10.2014, 18:58

Forum Jump:


Users browsing this thread: 2 Guest(s)