pawno variable problem
#1

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

Try this...

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

thanks
Reply
#4

no problem, I assume this worked for you then?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)