Tagname Issue - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Tagname Issue (
/showthread.php?tid=179854)
Tagname Issue -
Scriptissue - 28.09.2010
Hello, I used this command in order to change everyone's Tagname color to white, but it only changes the first player that logs in and the rest of the player get their Tagname randomly, how can I make it work ?
PHP код:
public OnPlayerSpawn(playerid)
{
#pragma tabsize 0
new PlayerColors[2] = {
0xFFFFFFAA
};
SetPlayerColor(playerid,PlayerColors[playerid]);
GetPlayerColor(playerid);
return 1;
}
Re: Tagname Issue - [L3th4l] - 28.09.2010
pawn Код:
public OnPlayerSpawn(playerid)
{
//#pragma tabsize 0 // Don't use this, learn to indent >.<
SetPlayerColor(playerid, 0xFFFFFFAA);
return 1;
}
Next time use [pawn] and [/pawn