SA-MP Forums Archive
Menu Creator - still menu errors! - 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: Menu Creator - still menu errors! (/showthread.php?tid=86855)



Menu Creator - still menu errors! - Anarkien - 16.07.2009

Ok, so I've had a lot of troubles making menus lately, so I decided to do it the easy way and download the SA:MP Menu Creator by Mack and try it out.

Here's my code:
http://pastebin.ca/1497122

Here are the errors:
pawn Код:
C:\Documents and Settings\Andreas\Mine dokumenter\GTA\samp02Xserver.win32\samp02Xserver.win32\gamemodes\admin.pwn(236) : error 021: symbol already defined: "OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhas
1/2 FIXED.
How can I fix the OnPlayerSelectedMenuRow error?


Re: Menu Creator - still menu errors! - abhinavdabral - 16.07.2009

You have to paste the Menu Craeter's code under OnPlayerSelectedMenuRow Callback

And not to create a new callback.....See if you have Another OnPlayerSelectedMenuRow..if there is another one, then delete it.....


Re: Menu Creator - still menu errors! - Geekzor - 16.07.2009

Quote:
Originally Posted by Anarkien
Ok, so I've had a lot of troubles making menus lately, so I decided to do it the easy way and download the SA:MP Menu Creator by Mack and try it out.

Here's my code:
http://pastebin.ca/1497122

Here are the errors:
pawn Код:
C:\Documents and Settings\Andreas\Mine dokumenter\GTA\samp02Xserver.win32\samp02Xserver.win32\gamemodes\admin.pwn(236) : error 021: symbol already defined: "OnPlayerSelectedMenuRow"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhas
1/2 FIXED.
How can I fix the OnPlayerSelectedMenuRow error?
delete line 235 i think than it must work


Re: Menu Creator - still menu errors! - Anarkien - 16.07.2009

Quote:
Originally Posted by ۞●•λвнiиаv•●۞
You have to paste the Menu Craeter's code under OnPlayerSelectedMenuRow Callback

And not to create a new callback.....See if you have Another OnPlayerSelectedMenuRow..if there is another one, then delete it.....
Thanks, never noticed that there was a OnPlayerSelectedMenuRow in the script by default.
Works like a charm.


Re: Menu Creator - still menu errors! - abhinavdabral - 16.07.2009

Good .....