PLEASE HELP!!
#5

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?
Reply


Messages In This Thread
PLEASE HELP!! - by wilcock33 - 08.08.2009, 15:44
Re: 1 thing... - by Sergei - 08.08.2009, 15:50
Re: 1 thing... - by wilcock33 - 08.08.2009, 15:57
Re: 1 thing... - by Mr_Finnigan - 08.08.2009, 16:02
Re: 1 thing... - by wilcock33 - 08.08.2009, 16:04

Forum Jump:


Users browsing this thread: 1 Guest(s)