[HELP]Function bug ?
#1

The function...
Код:
GetPlayerColor(playerid)
return a color blakc, why ? how to resolve this ?
Reply
#2

have you set the players color before hand?
Reply
#3

yes i have set the colours.. but dosent work help
Reply
#4

https://sampwiki.blast.hk/wiki/GetPlayerColor
Reply
#5

Becouse you will need to use
SetPlayerColour first before retrieving it!
U should do that under on Player connect just define all ur wanted played colours and the function will work
Reply
#6

Quote:
Originally Posted by park4bmx
Посмотреть сообщение
Becouse you will need to use
SetPlayerColour first before retrieving it!
U should do that under on Player connect just define all ur wanted played colours and the function will work
i have used this but dosent work

https://sampwiki.blast.hk/wiki/ColorFix
Reply
#7

GetPlayerColor doesn't work before SetPlayerColor has been used on a player. fixes.inc by ****** fixes this.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)