SetPlayerColor()
#1

Well.. I'm having a roleplay server, and I don't want it to display colors and icons. But for the cops I want it to display the blue color. And I have a /backup command for the cops which gives them a beacon.

Now the problem is, whenever a new player connects to the server he will see they cop as whitenamed. This is what I got under OnPlayerConnect()
pawn Код:
for(new i = 0; i<MAX_PLAYERS; i++)
    {
        SetPlayerMarkerForPlayer(i, playerid, 0xFFFFFF00);
    }
    for(new i = 0; i<MAX_PLAYERS; i++)
    {
        SetPlayerMarkerForPlayer(playerid, i, 0xFFFFFF00);
    }
Do I really have to make a switch for each faction inside the loop?
Reply


Messages In This Thread
SetPlayerColor() - by hanzen - 09.01.2011, 14:00
Re: SetPlayerColor() - by Mr.Stranger - 09.01.2011, 14:02
Re: SetPlayerColor() - by hanzen - 09.01.2011, 14:03
Re: SetPlayerColor() - by Toreno - 09.01.2011, 14:49

Forum Jump:


Users browsing this thread: 1 Guest(s)