Garhouse V2.0 Buy Button fixed - 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: Garhouse V2.0 Buy Button fixed (
/showthread.php?tid=453646)
Garhouse V2.0 Buy Button fixed -
Coz - 25.07.2013
If you are having problems with the Garhouse V2.0 Buy button not actually working
Original thread:
https://sampforum.blast.hk/showthread.php?tid=435238
The solution is below
You have to have return 0; at the end of OnDialogResponse (or if you have the script as a filterscript, put it first in the filterscript line in server.cfg).
Courtesy of Garsino himself, Thank you!
Re: Garhouse V2.0 Buy Button fixed -
MP2 - 25.07.2013
Why don't you post this in that topic then?
Re: Garhouse V2.0 Buy Button fixed -
Coz - 25.07.2013
Quote:
Originally Posted by MP2
Why don't you post this in that topic then?
|
Oh my mistake, I'm not sure if I can remove this thread now, or is there a way?
Re: Garhouse V2.0 Buy Button fixed -
Najdobar - 23.01.2014
Well it returns 0 and it still doesn't works ... Can you put the script please ?
Re: Garhouse V2.0 Buy Button fixed -
PowerPC603 - 23.01.2014
You have to do that in every filterscript.
Moving filterscripts around when they have "return 1;" at the end of OnDialogResponse will only move the bug (dialogs not working) to another script.
Only the gamemode can have "return 1;" at the end of that callback, as it's the last script in line to process dialog responses.