Help please, menus doenst works !
#1

Hi, in my server, menus works (vehicle menu, interior menu, and more). But now, i click on some item in menu, but item close ! In every filterscript, using menu, menu doesnt work. Please, help me
Reply
#2

Show us your OnPlayerSelectedMenuRow.
Reply
#3

Make sure you return 0 in the callback OnDialogResponse in EVERY filterscript. Otherwise it wont work, and it closes.

pawn Код:
Public OnDialogResponse()
{
    return 0;
}
Edit: Sorry, i just noticed its about Menus, and not Dialogs
Reply
#4

Oh, this is dialog
Like this :
Reply
#5

Then do what i said. Change the return 1 at the end of the callback OnDialogResponse to return 1.
NOTE: Just do this in the filterscripts youre using dialogs in, and not in your gamemode
Reply
#6

It doesnt work, i rewrite return 1 to 0. But, still not working
Reply
#7

Then show us your code.
Reply
#8

I using this :
http://forum.sa-mp.com/showthread.ph...hlight=IntMenu
http://forum.sa-mp.com/showthread.ph...hlight=Clothes
and this
http://forum.sa-mp.com/showthread.ph...t=Vehicle+menu
and Tune Menu
http://forum.sa-mp.com/showthread.ph...ight=tune+menu
Anything doesnt work, it shows, but i click on some item, and dialog is not visible
Reply
#9

Quote:
Originally Posted by lamarr007
Посмотреть сообщение
It doesnt work, i rewrite return 1 to 0. But, still not working
Do this to all of your scripts(FS).
Reply
#10

Yey, wait.
//EDIT
Doesnt work
I click on select (in dialog) button, after, dialog is not visible
Can be some wrong in gamemode ?
//EDIt2
Hey, I do IT !
I backup my old server.cfg and in new, i only use in filterscripts base and intmenu and it works !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)