Jump to content
  • 0

Dialog + Textdraw


Question

Posted

Salut cum fac si eu sa pun numele acel sub mapa intr-un dialog?

new pnamee[24];
    GetPlayerName(playerid, pnamee, sizeof(pnamee));
    Nume[playerid] = TextDrawCreate(55.000000,429.000000,pnamee);
    TextDrawAlignment(Nume[playerid],0);
    TextDrawFont(Nume[playerid],1);
    TextDrawLetterSize(Nume[playerid],0.299999,1.000000);
    TextDrawColor(Nume[playerid],0xC7DF14FF);
    TextDrawSetOutline(Nume[playerid],1);
    TextDrawSetProportional(Nume[playerid],1);
    TextDrawSetShadow(Nume[playerid],1);
    TextDrawShowForPlayer(playerid,Nume[playerid]);

3 answers to this question

Recommended Posts

Posted
//sus in script
#define DIALOG_NAME id_dialog //modifica id_dialog

//sub comanda sau ce vrei tu:
new string[128],playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,MAX_PLAYER_NAME);
format(string,128,"Your nickname is: %s",playername)
ShowPlayerDialog(playerid,DIALOG_NAME,DIALOG_STYLE_MSGBOX,,"You nickname",string,"Login","Cancel")

Posted

Stuntman asa vreau sa fac http://img211.imageshack.us/img211/8633/samp053h.png

Dialog ? Poate Box ... Folosesti asta sa editezi textdrawul: http://forum.sa-mp.com/showthread.php?t=117851&highlight=textdraw+editor
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.