Startup player random color's!
#1

Hello everyone,

Everytime a player connect's to my server it has a random color even though i've added the below code under OnPlayerConnect. Please help, Will rep+!

pawn Код:
SetPlayerColor(playerid,COLOR_GREY);
Reply
#2

does COLOR_GREY appear after spawn?
or does it change color after spawn
Reply
#3

Quote:
Originally Posted by §с†¶e®РµРe
Посмотреть сообщение
does COLOR_GREY appear after spawn?
or does it change color after spawn
Haardik! Come and test it? Please? U go in and see it yourself when i come in? Your registered with Admin 5 still.
Reply
#4

can you rephrase the problem/question ?
Reply
#5

Quote:
Originally Posted by eDz0r
Посмотреть сообщение
can you rephrase the problem/question ?
Everytime a player connect's to the server, The player has random color's but i've added SetPlayerColor to grey under OnPlayerConnect function in the GM. The problem is still there?
Reply
#6

look at onplayerspawn/onplayerrequestclass etc for SetPlayerColor....
Reply
#7

Did you put it under OnPlayerSpawn?
Reply
#8

Quote:
Originally Posted by Threshold
Посмотреть сообщение
Did you put it under OnPlayerSpawn?
Quote:
Originally Posted by eDz0r
Посмотреть сообщение
look at onplayerspawn/onplayerrequestclass etc for SetPlayerColor....
When player spawn's It gets the Team Color assigned to the team. But when it connect's and show's a SendDeathMessage(INVALID_PLAYERID,playerid,200); It always has a random color!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)