SA-MP Forums Archive
pawno variable problem - 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: pawno variable problem (/showthread.php?tid=85774)



pawno variable problem - Pawno_Master - 09.07.2009

if i add this variable to my script,:

new Menu:CurrentMenu = GetPlayerMenu(playerid);

i get a error message(from vista/windows)
that my pawno doesn't work anymore and that i need to close it
what's the problem??


Re: pawno variable problem - lavamike - 09.07.2009

Try this...

pawn Код:
new Menu:CurrentMenu;
CurrentMenu = GetPlayerMenu(playerid);
and make sure it's in the OnPlayerSelectedMenuRow callback


Re: pawno variable problem - Pawno_Master - 09.07.2009

thanks


Re: pawno variable problem - lavamike - 09.07.2009

no problem, I assume this worked for you then?