Help with Menu
#1

i maked menu.. and it gives erroes like this
(66) : error 017: undefined symbol "barmenu"
i maked
Код:
new Menu:barmenu;
and
Код:
 barmenu = CreateMenu("Bar Menu", 2, -2443.0635,754.2624,35.0, 150.0);
   AddMenuItem(barmenu, 0, "something");
   AddMenuItem(barmenu, 0, "something2");
and what is now do? no working.. it gived errors
Reply
#2

Where is
pawn Код:
new Menu:barmenu;
Located in your script?
Reply
#3

I fixed it myself
Reply
#4

how about that marker ? and when go to marker it give menu..?
Reply
#5

Quote:
Originally Posted by Nakki
how about that marker ? and when go to marker it give menu..?
For a marker, I recommend you to download a checkpoint streamer. You can create only one marker without a streamer, do it with pickups

Example:

pawn Код:
new pickup;

pickup = CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld);

public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == pickup) ShowMenuForPlayer(MenuID,playerid);
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)