SA-MP Forums Archive
Menu help - 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 help (/showthread.php?tid=119114)



Menu help - ClanDBZVegeta - 06.01.2010

LATELY STRANGE THINGS HAVE BEEN HAPPENING:
this is what happend i have this:
pawn Код:
new Menu:CurrentMenu = GetPlayerMenu(playerid);
then i compile and it gives me that send report thingy
then, it says its been compiled
then i open it up in samp-server.exe and this comes up:
Код:
failed to load script gamemode/sd.amx
runtime error 17 invalid/unsupported P-Code file format
now its still running, while i am typing this pawnostars fs loads SD2 (the same one which i used in seif)
and the samp-server.exe closed again like when i tried to do /area create.

I'm really confused and i need help. please.
OH, and this time i wasnt even running seifs isinplayerarea fs. still it crashes or something




Re: Help is rly needed ;D - BP13 - 06.01.2010

It's


pawn Код:
public OnPlayerSelectedMenuRow(playerid, row)
{
    new Menu:CurrentMenu = GetPlayerMenu(playerid);
    ....

Not:

pawn Код:
new Menu:CurrentMenu = GetPlayerMenu(playerid);
public OnPlayerSelectedMenuRow(playerid, row)
{
    ...
My sources are from here http://forum.sa-mp.com/index.php?topic=81728.0 So not sure if it will fix the problem.


Re: Help is rly needed ;D - ClanDBZVegeta - 07.01.2010

i fixed the menu problem but i rly need help on the problem when the gm sd switches to sd2 then samp-server.exe closes by itself probably crash,
i really really need help on this one because im getting a host soon

if u want to see the map sd2 its on my signature "[GM]Sudden Death"