Conflict Dialogs
#1

I have 2 different command but both using dialogs. If I press /v and click something it disappears and nothing happens, but when I do /w for weapons i can click on the list. So what I need to do is to make it in 1 filterscript.
Anyone mind helping me combining both with no warnings??

This is for the Vehicle Menu:
http://pastebin.com/06asY0iH

And this is for Weapons Menu:
http://pastebin.com/Hqf8r0dW
Reply
#2

you have to write return 0; or return 1; in both script at ondialogresponse
Reply
#3

Quote:
Originally Posted by dalkgamler
Посмотреть сообщение
you have to write return 0; or return 1; in both script at ondialogresponse
Not working... I guess its better if its 2 in 1 command in a filterscript. Also to lessen the max size of using filterscipt in server.cfg.
Reply
#4

in all scripts you have to write the same!
Reply
#5

Quote:
Originally Posted by dalkgamler
Посмотреть сообщение
in all scripts you have to write the same!
For sure i'll messed this up. thats why im asking for your help
Reply
#6

You're conflicting dialog ids, just change the ids on response ids.
Reply
#7

Quote:
Originally Posted by Blunt
Посмотреть сообщение
You're conflicting dialog ids, just change the ids on response ids.
Oh yes +rep both!

EDIT: Sometimes I get ammo bug, I can't choose weapons and its lock when i press E. It change in milliseconds. LOL You know why?
Reply
#8

Uhg, again I say, you must #define the dialogs' id's on top of your script, so it won't conflict.
Also, the return 1 and 0 thing won't work, and check the OnDialogResponse with switch(dialogid) etc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)