SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 11/01/2016, 11:18 AM   #1
ervinmasic
Big Clucker
 
Join Date: Mar 2013
Posts: 55
Reputation: 0
Default Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

Can anyone help me, i make gang zones and i need this includes, but on register my clickable textdraws dont work when i put this includes, but without this includes it work perferctly..
What is problem?
Here is my includes:
#include <a_mysql>
#include <foreach>
#include <easyDialog>
#include <eSelection>
#include <progress2>
#include <sscanf2>
#include <streamer>
#include <zcmd>

#include <YSI\y_iterate>
#include <YSI\y_areas>
ervinmasic is offline   Reply With Quote
Old 12/01/2016, 10:18 AM   #2
ervinmasic
Big Clucker
 
Join Date: Mar 2013
Posts: 55
Reputation: 0
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

BUMP
ervinmasic is offline   Reply With Quote
Old 13/01/2016, 09:55 AM   #3
ervinmasic
Big Clucker
 
Join Date: Mar 2013
Posts: 55
Reputation: 0
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

BUMP
ervinmasic is offline   Reply With Quote
Old 15/01/2016, 11:11 AM   #4
ervinmasic
Big Clucker
 
Join Date: Mar 2013
Posts: 55
Reputation: 0
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

BUMP
ervinmasic is offline   Reply With Quote
Old 16/01/2016, 10:16 AM   #5
ervinmasic
Big Clucker
 
Join Date: Mar 2013
Posts: 55
Reputation: 0
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

BUMP
ervinmasic is offline   Reply With Quote
Old 18/01/2016, 01:20 AM   #6
ervinmasic
Big Clucker
 
Join Date: Mar 2013
Posts: 55
Reputation: 0
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

BuMp
ervinmasic is offline   Reply With Quote
Old 18/01/2016, 01:27 AM   #7
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,814
Reputation: 831
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

It's generally caused when you return 1 under OnPlayerClick(Player)TextDraw which doesn't send a result to be called in other scripts using the same callback.

Make sure YSI doesn't do that or check for hooking done in those 2 libraries.
__________________

My GitHub:

Gammix is offline   Reply With Quote
Old 18/01/2016, 09:25 AM   #8
Abulsoud
Little Clucker
 
Join Date: Jan 2016
Posts: 8
Reputation: 1
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

Try to change the return to Return 0 then Return 1 to avoid textdraw's collision.
Abulsoud is offline   Reply With Quote
Old 18/01/2016, 10:39 AM   #9
ervinmasic
Big Clucker
 
Join Date: Mar 2013
Posts: 55
Reputation: 0
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

Im added return 0; in opnplayerclicktextdraw and i have same problem...
ervinmasic is offline   Reply With Quote
Old 19/01/2016, 04:57 PM   #10
ervinmasic
Big Clucker
 
Join Date: Mar 2013
Posts: 55
Reputation: 0
Default Re: Clickable Textdraws dont work when i put #include <YSI\y_iterate> and #include <YSI\y_areas>

BUMP
ervinmasic is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Textdraws dont work EptunLP Scripting Help 7 27/02/2015 09:37 AM
[Ajuda] Include e Textdraws Spectral Português/Portuguese 4 25/08/2014 01:56 AM
[Include] Wanted Include [Textdraws-Feature] Taktloss Includes 2 09/05/2014 08:35 PM
[Include] [INC] GTA-IV Phone Include [3 Textdraws] NeRoSiS Includes 63 06/03/2011 07:30 PM


All times are GMT. The time now is 10:25 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.