SA-MP Forums Archive
Help textdraw - 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)
+--- Thread: Help textdraw (/showthread.php?tid=504161)



Help textdraw - KrYpToN98 - 02.04.2014

I cant make a textdraw under the map
I want the text to be: Royal Russian Stunts
---------------
Any admins or mods reading this
Am the only owner for this server
If any guy claimed the name and asked for something to do with it give him a ban


Re: Help textdraw - iThePunisher - 02.04.2014

at the top of your script add
pawn Код:
new Text:RoyalRS[MAX_PLAYERS];
at public OnPlayerConnect(playerid) add
pawn Код:
RoyalRS[playerid] = TextDrawCreate(10.000000,430.000000,"Royal Russian Stunts");
    TextDrawAlignment(RoyalRS[playerid],0);
    TextDrawBackgroundColor(RoyalRS[playerid],0x000000ff);
    TextDrawFont(RoyalRS[playerid],1);
    TextDrawLetterSize(RoyalRS[playerid],0.500000,1.5);
    TextDrawColor(RoyalRS[playerid],0xffffffff);
    TextDrawSetOutline(RoyalRS[playerid],1);
    TextDrawSetProportional(RoyalRS[playerid],1);
    TextDrawSetShadow(RoyalRS[playerid],1);
    TextDrawShowForPlayer(playerid, RoyalRS[playerid]);
Edit: add TextDrawDestroy(RoyalRS[playerid]); at onplayerdisconnect