Color On Connect
#1

How can me do to all player who conncet to my server to have only this color: {00C0FF} | {F81414} | {F3FF02} | => {00C0FF}=Light Blue | {F81414} = Red | {F3FF02} = Yellow | Yes, romania colorz How can me do this?
Reply
#2

//On The top Of your script
Код:
new Colors[] =
{
    0x00C0FFFF, // Color1
    0xF81414FF, // Color2
    0xF3FF02FF, // Color3
    0x00C0FFFF
    0xF81414FF
    0xF3FF02FF
};
//on OnplayerConnect
Код:
 	new randomcolors = random(sizeof(Colors));
 	SetPlayerColor(playerid, Colors[randomcolors]);
Rep me If it Worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)