name in dialog
#1

I want to make the player see the other player name on dialog, how i do that
pawn Код:
ShowPlayerDialog(clickedplayerid,10000,DIALOG_STYLE_MSGBOX, "Stats","Name: {#FFB300}%s","Close","",playerid);
with this i got %s and it never show their name
Reply
#2

pawn Код:
new string[128], name[28];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "Name: {FFB300}%s", name);
ShowPlayerDialog(clickedplayerid,10000,DIALOG_STYLE_MSGBOX, "Stats",string,"Close","");
Reply
#3

Lolll i failed xD thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)