[HELP] OnPlayerConnect!
#1

Hello..

Im trying to make a command for when someone connects and they havnt spawned there SetPlayerColor to Grey and when they have spawned their color is normal..?

If this is possible?
Reply
#2

Quote:
Originally Posted by Oscii
Посмотреть сообщение
Hello..

Im trying to make a command for when someone connects and they havnt spawned there SetPlayerColor to Grey and when they have spawned their color is normal..?

If this is possible?
Yes just use

pawn Код:
SetPlayerColor( playerid, 0x808080FF ); // change 0x808080FF if you want (it's gray) and put this in Onplayerconnect
and use your own colour on OnPlayerSpawn

pawn Код:
SetPlayerColor( playerid,  YOUR_COLOR ); // On Onplayerspawn
and you are done

-FalconX
Reply
#3

Ohhh i see!

Thank you!

+1 Rep!
Reply
#4

Its the easiest thing dude!
Reply
#5

Quote:
Originally Posted by pasha97
Посмотреть сообщение
Its the easiest thing dude!
Sometimes the most easiest thing becomes the most toughest thing on this planet. Just like giving you a birth 'You should ask your dad about it' (No Hate/Offence)
Reply
#6

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
Sometimes the most easiest thing becomes the most toughest thing on this planet. Just like giving you a birth 'You should ask your dad about it' (No Hate/Offence)
wise
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)