[UNSOLVED] Final Problen To Complete new GM!
#5

I would try (very easy) new playerid;
That's all. Most of the time that works.

Код:
//Top of page
new name[24];

public OnPlayerSpawn(playerid)
{
    new playerid; //this <<-------------------------
	if(pInfo[Logged] == 1) //you need to change pInfo to the variable u use
	{
		
		GetPlayerName(playerid,name,24);
		if (!strcmp(name, "Slash01", true))
		{
			SetPlayerColor(playerid,YourColor);//You need to Change YourColor to the color u wanna use
		}
	}
	return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)