Having problems with menu creation
#1

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?
Reply
#2

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

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

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)