SA-MP Forums Archive
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: TextDraw (/showthread.php?tid=581342)



TextDraw - orel56000 - 12.07.2015

Hello,
i trying to make a textdraw but it dosent working,

http://pastebin.com/DFdsNTsS

What worng with this script ?

Thanks for the helpers!

Sorry for my bad english.


Re : TextDraw - KillerDVX - 12.07.2015

Actually, I couldn't find any errors in your script.

Show us your errors if you got ones. If not, what's happening while you use /loading ?

KillerDVX,



Re: Re : TextDraw - orel56000 - 12.07.2015

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
Actually, I couldn't find any errors in your script.

Show us your errors if you got ones. If not, what's happening while you use /loading ?

KillerDVX,
No errors....

if i write /loading its dont do anything..


Re: TextDraw - lanix - 12.07.2015

try replace
Код:
if (strcmp("/loading", cmdtext, true, 10) == 0)
with this
Код:
if(!strcmp(cmdtext, "/loading"))



Re: TextDraw - orel56000 - 12.07.2015

Quote:
Originally Posted by lanix
Посмотреть сообщение
try replace
Код:
if (strcmp("/loading", cmdtext, true, 10) == 0)
with this
Код:
if(!strcmp(cmdtext, "/loading"))
not working,

If i writing in the public SendClientMessage(playerid,-1,"Check");
the server only writing Check and not opening the textdraw.


Re : TextDraw - KillerDVX - 12.07.2015

Why "OnGameModeInit" Doesn't return any value ?

Add : return 1;

^^



Re: Re : TextDraw - orel56000 - 12.07.2015

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
Why "OnGameModeInit" Doesn't return any value ?

Add : return 1;

^^
Not working.


Re : TextDraw - KillerDVX - 12.07.2015

Hmm...How many textdraws are created in the gamemode (per player)?


Re: Re : TextDraw - orel56000 - 12.07.2015

Quote:
Originally Posted by KillerDVX
Посмотреть сообщение
Hmm...How many textdraws are created in the gamemode (per player)?
No one, only in this filterscript