Jump to content

pomoc GetPlayerColor


PapikSVK52

Recommended Posts

čaute chcem aby ked je VIP a ma titul tak aby zistilo jeho Farbu nicku

 

 

tu je kod:

 

public OnPlayerText(playerid, text[])
{
if(Evip[playerid])
{
new str[128];
GetPlayerName(playerid,str,sizeof(str));
format(str,sizeof(str), "{ffd700}[ExtraVIP] {8CED15}%s: {FFFFFF}(ID:%d) %s", str, (playerid), text[0]);
SendClientMessageToAll(-1, str);
return false;
}
 

vies ze tam ma byt GetPlayerColor(playerid) >>> 8

Link to comment
Share on other sites


public OnPlayerText(playerid, text[])
{
if(Evip[playerid])
{
new str[128];
GetPlayerName(playerid,str,sizeof(str));
format(str,sizeof(str), "{ffd700}[ExtraVIP] {%06x}%s: {FFFFFF}(ID:%d) %s",GetPlayerColor(playerid) >>> 8, str, (playerid), text[0]);
SendClientMessageToAll(-1, str);
return false;
}

  • Líbí se mi to! (+1) 1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...