Quote:
|
Originally Posted by Mr_FinnigaN
Quote:
|
Originally Posted by SLASH01(5KRPT3R)
Код:
OnPlayerSpawn(playerid)
{
if(pInfo[Logged] == 1)//you need to change pInfo to the variable u use
{
new name[24];
GetPlayerName(playerid,name,24);
if (strcmp(name, "Slash01", true) == 0)
{
SetPlayerColor(playerid,YourColor);//You need to Change YourColor to the color u wanna use
}
}
return 1;
}
Quote:
)//you need to change pInfo to the variable u use
|
what does that mean?
|
Код:
SetPlayerColor(playerid,COLOR_YELLOW);//You need to Change YourColor to the color u wanna use
he means change your color to COLOR_YELLOW if you want yellow,then do this at top of gamemode somewhere:
Код:
#define COLOR_YELLOW 0xFFFF00FF
|
i know what to do with colours LOL
i mean about the Pinfo bit, what do i do if i use Seif Admin?