Problem with textdraw script
#6

wow thanks that helped a lot Eth
Quote:

dude at the top of the script not ongamemode init:
oh my bad, delete the : after new so it will be :
pawn Code:

new Text:Help-titel;

instead of :
pawn Code:

new:Text:Help-titel;

now ongamemodeinit:
pawn Code:

Help-titel = TextDrawCreate(500, 130, "Help"); // line 3466
TextDrawLetterSize(Text:Help-titel, 0, 0); // line 3467
TextDrawTextSize(Text:Help-titel, 0, 0); // line 3468
TextDrawAlignment(Text:Help-titel, 0);
TextDrawColor(Text:Help-titel, 48042);
TextDrawUseBox(Text:Help-titel, 1);
TextDrawSetShadow(Text:Help-titel, 0);
TextDrawBoxColor(Text:Help-titel, -1347440726);
TextDrawSetOutline(Text:Help-titel, 0);
TextDrawBackgroundColor(Text:Help-titel, 170);
TextDrawFont(Text:Help-titel, 1);
TextDrawSetProportional(Text:Help-titel, 1);
but then i got an other error i don't know what it was but anyway it had something with what IstuntmanI said
Quote:

And change "Help-titel" with "Help_titel". You can't create variables with that character.

Thanks IstuntmanI For that fix !
Reply


Messages In This Thread
Problem with textdraw script - by Hurde - 01.06.2014, 14:27
Re: Problem with textdraw script - by Eth - 01.06.2014, 14:56
Re: Problem with textdraw script - by Hurde - 01.06.2014, 15:38
Re: Problem with textdraw script - by Eth - 01.06.2014, 15:42
Re: Problem with textdraw script - by IstuntmanI - 01.06.2014, 15:45
Re: Problem with textdraw script - by Hurde - 01.06.2014, 18:16

Forum Jump:


Users browsing this thread: 1 Guest(s)