SA-MP Forums Archive
Having problems with menu creation - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Having problems with menu creation (/showthread.php?tid=179588)



Having problems with menu creation - AirGuy92 - 27.09.2010

I've been trying to create a menu (following the tutorial on samp wiki), but when I try to compile the pawn compiler doesn't respond. When I try to start the server I get:

"Runtime error 17: "Invalid/unsupported P-code file format".

I have ******d a bit but I haven't found a working fix.

I'm pretty sure it has something to do with the lines:

new Menu:CurrentMenu = GetPlayerMenu(playerid);

and:

if(CurrentMenu == nvapen)

And I read something about functions and callbacks in another thread with this error, but I don't really know how to use them properly...

Help please?


Re: Having problems with menu creation - dillo1000 - 27.09.2010

Something in the script has messed up which means you should go over what you have lasted done and check everything


Re: Having problems with menu creation - AirGuy92 - 27.09.2010

I know that there's something wrong with the script, I just lack the knowledge to deal with the problem :/


Re: Having problems with menu creation - dillo1000 - 27.09.2010

Im not that good at scripting but
Menu:CurrentMenu dont think that would work


Re: Having problems with menu creation - AirGuy92 - 27.09.2010

According to the tutorial it works. And I don't think that's the problem, I think it's a part I have forgotten or something. Thanks anyways