SA-MP Forums Archive
I need help Expert GTO mode. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need help Expert GTO mode. (/showthread.php?tid=78294)



I need help Expert GTO mode. - user226 - 18.05.2009

Hello, I created TextDraw and using:

In GTO.pwn
pawn Код:
new Text:Help;
In GTO.pwn (OnGameModeInit)
pawn Код:
Help = TextDrawCreate(5.000000,435.000000,"help");
TextDrawAlignment(Help,0);
TextDrawBackgroundColor(Help,0xF6F6F3FF);
TextDrawFont(Help,2);
TextDrawLetterSize(Help,1.000000,1.000000);
TextDrawColor(Help,0x000FF);
TextDrawSetOutline(Help,1);
TextDrawSetProportional(Help,1);
TextDrawSetShadow(Help,1);
In GTO.pwn(OnPlayerConnect)
pawn Код:
TextDrawShowForAll(Help);
I Connecting to my server, There TextDraw for a couple seconds, then disappears and then does not appear..
The same is true even when I do
TextDrawShowForAll on command
Appears, and disappears after 2 seconds...
Who can help me? please...


Re: I need help Expert GTO mode. - Backwardsman97 - 18.05.2009

Well for one thing, you shouldn't use TextDrawShowForAll under OnPlayerConnect. You should use TextDrawShowForPlayer. And search your script for "TextDrawHideForAll(Help)" without the quotes. Or just search for "TextDrawHide" without the quotes.


Re: I need help Expert GTO mode. - user226 - 18.05.2009

TextDrawShowForPlayer - occurs the same... Not showing..
About TextDrawHide - I do not understand what you wrote Please explain again



Re: I need help Expert GTO mode. - Backwardsman97 - 19.05.2009

Go in Pawno, hit ctrl+f and search for the word textdrawhide


Re: I need help Expert GTO mode. - user226 - 19.05.2009

Quote:
Originally Posted by backwardsman97
Go in Pawno, hit ctrl+f and search for the word textdrawhide
In GTO.pwn No such word!
"TextDrawHide" is in:
pawno\include\vehicleinfo.inc
- But it seems has nothing to do with my TextDraw
still in:
pawno\include\synctime.inc
pawno\include\playerinfo.inc
More nowhere no


Re: I need help Expert GTO mode. - user226 - 19.05.2009

why do not working.. help me please