When players join they are coloured and map iconned, Why?
#1

As the title says.....I'm not setting any PlayerColor.

Can someone tell me why? When another player comes in they are a random colour, it can be purple and there are also map icons as to where they are.
Reply
#2

Colors are set randomly if you don't have SetPlayerColor(playerid,color); under OnPlayerConnect(playerid)
Reply
#3

pawn Код:
// OnGameModeInit
ShowPlayerMarkers(0); // 1 - Will show the player markers, 0 - will not show player markers.
I think that's what you need.
Reply
#4

That will hide radar blips from radar. To set Player COlor to same do it like this
pawn Код:
public OnPlayerConnect(playerid)
{
     SetPlayerColor(playerid 0xFFFFFFFF); //replace it with your color code.
     return 1;
}
Reply
#5

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
Colors are set randomly if you don't have SetPlayerColor(playerid,color); under OnPlayerConnect(playerid)
Colors aren't set randomly, it set by player's ID.
Reply
#6

Why are "random" if you don't set them. I'm thinking on another random
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)