HELP! Textdraw wont appear!
#1

This is my code:

At top of script

Код:
new Text:gsrp;
Under OnGameModeInit()
Код:
gsrp = TextDrawCreate(85, 466, "Grand Salvation Roleplay");
TextDrawFont(gsrp , 0);
TextDrawLetterSize(gsrp , 0.3, 2.1);
TextDrawColor(gsrp , 0xFF0000FF);
TextDrawSetOutline(gsrp , 0);
TextDrawSetProportional(gsrp , 1);
TextDrawSetShadow(gsrp , 0);
Under OnPlayerConnect(playerid)
Код:
TextDrawShowForAll(gsrp);
The textdraw doesnt show up.. any help?
Reply
#2

Try this:
pawn Код:
TextDrawShowForAll(Text:gsrp);
-SomebodyAndMe
Reply
#3

Put the filterscript in the files.
Reply
#4

I feel like such an idiotttt... Btw, im in teamspeak with "Oh" Thats how he knew to post that before i got here.. My dumbass forgot to put the FS in the filterscripts folder.. Please dont judge, i had an "Oh" Moment..
Reply
#5

Wow... i put it in there, and guess what, IT STILL DONT WORK!!
Reply
#6

Try what I said...
Код:
TextDrawShowForAll(Text:gsrp);
Reply
#7

Quote:
Originally Posted by SomebodyAndMe
Посмотреть сообщение
Try what I said...
Код:
TextDrawShowForAll(Text:gsrp);
Tried that, did no good.
Reply
#8

pawn Код:
Text:gsrp = TextDrawCreate(85, 466, "Grand Salvation Roleplay");
TextDrawFont(Text:gsrp , 0);
TextDrawLetterSize(Text:gsrp , 0.3, 2.1);
TextDrawColor(Text:gsrp , 0xFF0000FF);
TextDrawSetOutline(Text:gsrp , 0);
TextDrawSetProportional(Text:gsrp , 1);
TextDrawSetShadow(Text:gsrp , 0);
Try that..
Reply
#9

Quote:
Originally Posted by SomebodyAndMe
Посмотреть сообщение
pawn Код:
Text:gsrp = TextDrawCreate(85, 466, "Grand Salvation Roleplay");
TextDrawFont(Text:gsrp , 0);
TextDrawLetterSize(Text:gsrp , 0.3, 2.1);
TextDrawColor(Text:gsrp , 0xFF0000FF);
TextDrawSetOutline(Text:gsrp , 0);
TextDrawSetProportional(Text:gsrp , 1);
TextDrawSetShadow(Text:gsrp , 0);
Try that..
You have Already did new Text:gsp why again ? it 'd give u Errors!
Reply
#10

Quote:
Originally Posted by SomebodyAndMe
Посмотреть сообщение
pawn Код:
[COLOR="Red"]Text:gsrp[/COLOR] = TextDrawCreate(85, 466, "Grand Salvation Roleplay");
TextDrawFont(Text:gsrp , 0);
TextDrawLetterSize(Text:gsrp , 0.3, 2.1);
TextDrawColor(Text:gsrp , 0xFF0000FF);
TextDrawSetOutline(Text:gsrp , 0);
TextDrawSetProportional(Text:gsrp , 1);
TextDrawSetShadow(Text:gsrp , 0);
Try that..
Thats wrong.. you defined the text as gsrp, not Text:gsrp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)