Tagname Issue
#1

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;

Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)