menues
#1

is here anyone who can help me with menu when player go in ''info'' icon ''i'' and than show menu ? can someone help ?
Reply
#2

Use OnPlayerPickuppickup.
Reply
#3

pawn Код:
// Defines
new Pickup;

// OnPlayerConnect
Pickup = CreatePickup(info_icon_id, type, X, Y, Z);

// OnPlayerPickUpPickup
ShowMenuForPlayer(WhichEverMenuYouUse, playerid);
Edit it to suit it to your likes.
Reply
#4

ok ty i will try
Reply
#5

Quote:
Originally Posted by SpiderPork
pawn Код:
// Defines
new Pickup;

// OnPlayerConnect
Pickup = CreatePickup(info_icon_id, type, X, Y, Z);

// OnPlayerPickUpPickup
ShowMenuForPlayer(WhichEverMenuYouUse, playerid);
Edit it to suit it to your likes.
Are you sure you meant to OnPlayerConnect?
Reply
#6

what is wrong with my ''menu'' what i must add to menu, atm when i go into the ''info'' icon ''i'' no menu show up can somebody help me ?

http://pastebin.com/d465aeff4 - here u can see my gamemode

and what this warings mean and how to fix them

C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\te st.pwn(359) : warning 203: symbol is never used: "IsNumeric"
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\te st.pwn(244) : warning 204: symbol is assigned a value that is never used: "Pickup"
C:\Documents and Settings\Administrator\Desktop\Server\gamemodes\te st.pwn(244 -- 359) : warning 203: symbol is never used: "ReturnUser"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Reply
#7

Give me the place you want the Icon (X, Y, Z), & what you want on the Menu.
Reply
#8

1. You do not need to include 'utils.inc'
2. You never use your 'Pickup' variable

They are just warnings, your script still compiled.
Reply
#9

ye ye i know its compiled but still ty , another problem is what is wrong with my menues ? i know i dont make it right but how i can make it working ?

EDIT: how i can ''variable'' it ?
Reply
#10

Quote:
Originally Posted by Geekzor
... another problem is what is wrong with my menues ? i know i dont make it right but how i can make it working ?
Well actually, you haven't made it at all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)