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
#2

you have to save it
Reply
#3

?

(4char)
Reply
#4

You can use it under OnGameModeInit()
And everyone who connects won't see other players on map, and if anyone of the cops do /backup..
It will simply display the officer SetPlayerMarkerForPlayer...
(I may be didn't understand you well..)

pawn Код:
ShowPlayerMarkers(false);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)