OnPlayerConnect
#6

Quote:
Originally Posted by Badger(new)
Посмотреть сообщение
A quote from the wiki article on GetPlayerColor

If you want to use the default colours, click here, and add that code to your script.
Then, when a player connects, do:
pawn Код:
SetPlayerColor(playerid,PlayerColors[playerid]-FF);//"-FF" takes away the alpha (transparency) value of 255 (FF)
I use SetPlayerColor for all teams when a player spawning.
Reply


Messages In This Thread
OnPlayerConnect - by cruising - 17.08.2011, 01:55
Re: OnPlayerConnect - by Admigo - 17.08.2011, 02:00
Re: OnPlayerConnect - by Kar - 17.08.2011, 02:02
admigo - by cruising - 17.08.2011, 02:18
Re: OnPlayerConnect - by Badger(new) - 17.08.2011, 04:39
Re: OnPlayerConnect - by cruising - 17.08.2011, 05:24
Re: OnPlayerConnect - by Badger(new) - 17.08.2011, 05:33
Re: OnPlayerConnect - by iggy1 - 17.08.2011, 06:12
Re: OnPlayerConnect - by cruising - 17.08.2011, 07:26
Re: OnPlayerConnect - by Basicz - 17.08.2011, 07:55

Forum Jump:


Users browsing this thread: 2 Guest(s)