Raised This Month: $ Target: $400
 0% 

Making my drugmod commands into items


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
XmINiX
Senior Member
Join Date: Nov 2006
Location: Your basement
Old 12-22-2006 , 07:37   Re: Making my drugmod commands into items
Reply With Quote #10

But it is a Scritping help forum...
Ok... So this plugin needs to be redone :/..... Like it needs to be imported into HarbeRPItems.sma so it will have a Mysql Connection.
LOL Talk About copying from the Tutorial in the doc
Code:
 //Drink Menu
 new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_6|MENU_KEY_7|MENU_KEY_8|MENU_KEY_9
 register_menucmd(register_menuid("Which Drink?"), keys, "giveWeapon")
 register_clcmd("say /drinkmenu", "showWeaponMenu")
&
Code:
 //711 Menu
 new keys1 = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4
 register_menucmd(register_menuid("Buy what?"), keys1, "giveWeapon1")
 register_clcmd("say /711menu", "showWeaponMenu1")
But anyway here is what you register to make a item IN HarbuRPItems.sma!!!
Code:
 register_srvcmd("item_extasy", "item_extasy")
that is one idk what all is in Pinks plugin.
__________________
+Karma me if i am helpful!

Last edited by XmINiX; 12-22-2006 at 07:47.
XmINiX is offline
Send a message via AIM to XmINiX Send a message via MSN to XmINiX Send a message via Yahoo to XmINiX
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode