HOW TO TEXTDRAW THIS?
#1

title says all..

Код:
CMD:rules(playerid)
{
Rules(playerid);
return true;
}
i got one textdraw cmd in my gamemode, its like this

Код:
CMD:crules(playerid)
{
if(GetPVarInt(playerid, "COP") ==1 ) return 1;
TextDrawShowForPlayer(playerid, CopsRules0);
TextDrawShowForPlayer(playerid, CopsRules1);
TextDrawShowForPlayer(playerid, CopsRules2);
TextDrawShowForPlayer(playerid, CopsRules3);
TextDrawShowForPlayer(playerid, CopsRules4);
return true;
}
Reply
#2

You can use https://sampforum.blast.hk/showthread.php?tid=117851
or https://sampforum.blast.hk/showthread.php?tid=376758
Reply
#3

WOO THANKS BRO!!! +rep

**didnt notice that it has filterscript :O
Reply
#4

You can Create new filterscript and copy code file TD_blbla.pwn for IpleoMax,
EX: put code
after include
Quote:

new Text:Textdraw0;

and put
Quote:

Textdraw0 = TextDrawCreate(641.500000, 1.500000, "usebox");
TextDrawLetterSize(Textdraw0, 0.000000, 16.047777);
TextDrawTextSize(Textdraw0, -2.000000, 0.000000);
TextDrawAlignment(Textdraw0, 1);
TextDrawColor(Textdraw0, 0);
TextDrawUseBox(Textdraw0, true);
TextDrawBoxColor(Textdraw0, 102);
TextDrawSetShadow(Textdraw0, 0);
TextDrawSetOutline(Textdraw0, 0);
TextDrawFont(Textdraw0, 0);

in Ongamemodeinit()
And
Quote:

CMD:blaBla(playerid,params[])
{
TextDrawShowForPlayer(playerid, Textdraw0);
return 1;
}

Reply
#5

ok bro! i'll try it, but first i will back up my samp files, coz im noob scripter :S maybe there will be errors occured
Reply
#6

Yes, save the front is essential, it can happen error
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)