SA-MP Forums Archive
Player id near player nick - 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)
+--- Thread: Player id near player nick (/showthread.php?tid=294198)



Player id near player nick - V4at - 31.10.2011

When you are connecting show black color, as it should be orange color. Where is problem?

Код:
new
        cString[128],
        pName[MAX_PLAYER_NAME]
    ;

    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(cString, sizeof(cString), "%s: {009900}({99FF00}ID:%d{009900}){FFFFFF}: %s", pName, playerid, text);
    SendClientMessageToAll(GetPlayerColor(playerid), cString);



Re: Player id near player nick - admantis - 31.10.2011

What's the problem? explain more. That doesn't seem to be a connect code .. more like OnPlayerText.


Re : Player id near player nick - V4at - 31.10.2011

Lietuvis?


Re: Player id near player nick - admantis - 31.10.2011

WHAT?


Re : Player id near player nick - V4at - 31.10.2011

Nothing..


Re: Player id near player nick - admantis - 31.10.2011

Okay. Mind to explain us -clearly- the problem?


Re : Player id near player nick - V4at - 31.10.2011

When you write in chat show black nick, as it should be orange..


Re : Player id near player nick - V4at - 31.10.2011

Must show the color of the connecting, but not the first color of getplayercolor..


Re: Player id near player nick - Jefff - 31.10.2011

https://sampwiki.blast.hk/wiki/GetPlayerColor


Re : Player id near player nick - V4at - 01.11.2011

is not