ToX1c Posted January 21, 2011 Posted January 21, 2011 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]);
IstuntmanI Posted January 21, 2011 Posted January 21, 2011 //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")
ToX1c Posted January 21, 2011 Author Posted January 21, 2011 Stuntman asa vreau sa fac http://img211.imageshack.us/img211/8633/samp053h.png
IstuntmanI Posted January 21, 2011 Posted January 21, 2011 Stuntman asa vreau sa fac http://img211.imageshack.us/img211/8633/samp053h.pngDialog ? Poate Box ... Folosesti asta sa editezi textdrawul: http://forum.sa-mp.com/showthread.php?t=117851&highlight=textdraw+editor
Question
ToX1c
Salut cum fac si eu sa pun numele acel sub mapa intr-un dialog?
3 answers to this question
Recommended Posts