09.08.2009, 10:35
hello all! thanks for even taking the time to look at this!
i want to be able to set my colour to be the same, everytime i log in to my server.
i know its possible, but how do i do it?
thanks in advance...
UPDATE!
i had a friend to try and make it for me but i get 4 errors on compile:
then the errors:
its says that (playerid) is not defined 4 times? my friend didnt know the problem eaither
also: where can i get the include: MapIcon.inc?
THANKS!!
i want to be able to set my colour to be the same, everytime i log in to my server.
i know its possible, but how do i do it?
thanks in advance...
UPDATE!
i had a friend to try and make it for me but i get 4 errors on compile:
Код:
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;
}
its says that (playerid) is not defined 4 times? my friend didnt know the problem eaither
also: where can i get the include: MapIcon.inc?
THANKS!!

