09.08.2009, 12:06
I would try (very easy) new playerid;
That's all. Most of the time that works.
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; }