Raised This Month: $ Target: $400
 0% 

Help im a beginner at scripting![Command Help]!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
VEN
Veteran Member
Join Date: Jan 2005
Old 07-16-2006 , 06:12   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #1

Congratulations on solving the puzzle. :o

Last edited by VEN; 07-16-2006 at 06:13. Reason: don't parse my text smiles
VEN is offline
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 07-16-2006 , 12:26   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #2

Wasn't really a puzzle... Lawls, so funny Ven! ^.^
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))
TheNewt is offline
V3n0m435
Member
Join Date: Apr 2006
Location: Cali
Old 07-16-2006 , 23:29   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #3

Quote:
Originally Posted by MysticDeath
Wasn't really a puzzle... Lawls, so funny Ven! ^.^
And one more thing does anyone know anything about Menus and hook plugins?
__________________
Servers Game:Counter-Strike:Condition Zero

V3n0m435 is offline
Send a message via AIM to V3n0m435 Send a message via MSN to V3n0m435 Send a message via Yahoo to V3n0m435
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 07-17-2006 , 14:47   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #4

Quote:
And one more thing does anyone know anything about Menus
:ROFL: Sorry, but yeah. Add this to plugin_init
Code:
register_menucmd(register_menuid("menu_MainMenu"),1023,"MenuAction_MainMenu");
Then make a menu function.
Code:
MainMenu(id) {     new menu[256]     new key = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2     new sMenu = format(menu, 255, "\yMain Menu:")     sMenu += format(menu[sMenu], 255-sMenu, "^n\w1. Option 1")     sMenu += format(menu[sMenu], 255-sMenu, "^n\w2. Option 2")     sMenu += format(menu[sMenu], 255-sMenu, "^n^n\w0. Exit")     show_menu(id, key, menu, -1, "menu_MainMenu") }
Now make a menuaction func =P
Code:
public MenuAction_MainMenu(id, key) {     switch(key) {         case 0: {         //When option 1 is pressed this will activate. =P         }         case 1: {         //When option 2 is pressed this will activate.         }         //You don't need a case 2 for exit, since it'll exit anyways if theres nothing here.     } }

I'm done helping, please just look at the docs or other people's plugins, and some tutorials. You'll learn. ^.^

And FuncWiki is your friend ^_^
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))

Last edited by TheNewt; 07-17-2006 at 14:50.
TheNewt is offline
V3n0m435
Member
Join Date: Apr 2006
Location: Cali
Old 07-17-2006 , 17:27   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #5

What do I change the set_user to look at my plugin at the top and ull see what Im talking about
__________________
Servers Game:Counter-Strike:Condition Zero

V3n0m435 is offline
Send a message via AIM to V3n0m435 Send a message via MSN to V3n0m435 Send a message via Yahoo to V3n0m435
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 07-17-2006 , 18:26   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #6

Code:
set_user_rendering(id,kRenderFxNone,0,0,0,kRenderTransAlpha,PlayerAlpha)

http://www.amxmodx.org/funcwiki.php?go=func&id=119
FincWiki is your friend. I demand that you it for functions, please.
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))
TheNewt is offline
V3n0m435
Member
Join Date: Apr 2006
Location: Cali
Old 07-17-2006 , 20:46   Re: Help im a beginner at scripting![Command Help]!
Reply With Quote #7

Quote:
Originally Posted by MysticDeath
Code:
set_user_rendering(id,kRenderFxNone,0,0,0,kRenderTransAlpha,PlayerAlpha)

http://www.amxmodx.org/funcwiki.php?go=func&id=119
FincWiki is your friend. I demand that you it for functions, please.
No for a hook mod sry
__________________
Servers Game:Counter-Strike:Condition Zero

V3n0m435 is offline
Send a message via AIM to V3n0m435 Send a message via MSN to V3n0m435 Send a message via Yahoo to V3n0m435
Reply



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 07:59.


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