SA-MP Forums Archive
Questions On Pickups And Menus! - 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: Questions On Pickups And Menus! (/showthread.php?tid=191894)



Questions On Pickups And Menus! - Rokzlive - 20.11.2010

1. How do i make a pickup that executes a commands like /housemenu when someone enters it.

2. How do i make a menu that has options like "Lock House, Unlock House, Lock Car, Unlock Car, Blah Blah Blah,vand when the choose a option like "Lock House" it executes a command called "/h lock".

Plz Help


Re: Questions On Pickups And Menus! - [L3th4l] - 20.11.2010

1.
pawn Код:
OnPlayerPickUpPickup(....) if(pickupid == yourpickup) CallLocalFunction("OnPlayerCommandText", "is", playerid, "/NAMEOFYOURCOMMAND");



Re: Questions On Pickups And Menus! - Rokzlive - 20.11.2010

Menu answer?