SA-MP Forums Archive
.::[ Help whit string ]::. - 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: .::[ Help whit string ]::. (/showthread.php?tid=147745)



.::[ Help whit string ]::. - DarkPower - 14.05.2010

Why donsen t show player name in this dialog
Код:
new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"|° Ludi Grad Roleplay °| %s",coordsstring,"OK","Kick", pName);



Re: .::[ Help whit string ]::. - Rac3r - 14.05.2010

Код:
new string[MAX_PLAYER_NAME+40];
GetPlayerName(playerid,string,MAX_PLAYER_NAME);
format(string, 64, "|° Ludi Grad Roleplay °| %s",string);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX, string, coordsstring, "OK","CANCEL");



Re: .::[ Help whit string ]::. - RenisiL - 14.05.2010

Код:
new
  Vardas[MAX_PLAYER_NAME],
  string[48];
GetPlayerName(playerid, Vardas, sizeof(Vardas));
format(string,sizeof(string),"|° Ludi Grad Roleplay °| %s",Vardas);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"|° Ludi Grad Roleplay °",string,"ok"kick");



Re: .::[ Help whit string ]::. - RenisiL - 14.05.2010

xD Rac3er you first okay