Need help with multiple fs Dialogs
#4

Quote:
Originally Posted by Babul
Посмотреть сообщение
open your gamemode and all filterscripts you want to use, and check their DialogResponse callback:
the gamemode callback MUST contain a return - preferably return 1; in its end...
each filterscript WITH a return in the callbacks' end, will cancel further processing when its called - remove the return 1; ( or 0; ) at the dialog in order to let the next (filter)scripts perform that callback - as long there is no return in the fitlerscripts, the chain will process until the callback in the gamemode gets called, this is where a return 1; is required.

you will notice the compiler complaining with a warning "function should return a value". < fuck that, and enjoy your 3 filterscripts working together!
damn it it was that easy, well i got everything to work. also got the 2 most important to work. the radio i did the same but it didnt play, so then i just placed the radio file name first in the server.cfg before the house and the bank and they all work now.

Thank you for your help
Reply


Messages In This Thread
Need help with multiple fs Dialogs - by Smokey619 - 31.12.2012, 04:11
Re: Need help with multiple fs Dialogs - by NicholasA - 31.12.2012, 10:17
Re: Need help with multiple fs Dialogs - by Babul - 31.12.2012, 11:13
Re: Need help with multiple fs Dialogs - by Smokey619 - 31.12.2012, 23:22

Forum Jump:


Users browsing this thread: 1 Guest(s)