Raised This Month: $32 Target: $400
 8% 

All args after x?


Post New Thread Reply   
 
Thread Tools Display Modes
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-02-2009 , 09:15   Re: All args after x?
Reply With Quote #11

SAMURAI, he was just saying he can only get 1 at a time.

high6, that method should work fine.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
high6
Member
Join Date: Feb 2009
Old 02-02-2009 , 09:17   Re: All args after x?
Reply With Quote #12

Quote:
Originally Posted by SAMURAI16 View Post
You can get 2nd argument with that native also
I don't just want the second parameter. I want 2,3,4,5+... everything after x.
high6 is offline
high6
Member
Join Date: Feb 2009
Old 02-02-2009 , 09:34   Re: All args after x?
Reply With Quote #13

Also, are their game specific commands like the event hooks?
high6 is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 02-02-2009 , 09:42   Re: All args after x?
Reply With Quote #14

What do you mean?

I gave you a list of all the events including game-specific ones.

You just hook whichever event you want.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
berni
SourceMod Plugin Approver
Join Date: May 2007
Location: Austria
Old 02-02-2009 , 11:08   Re: All args after x?
Reply With Quote #15

high6, use the function GetCmdArgString, it will get you all the arguments passed in once
__________________
Why reinvent the wheel ? Download smlib with over 350 useful functions.

When people ask me "Plz" just because it's shorter than "Please" I feel perfectly justified to answer "No" because it's shorter than "Yes"
powered by Core i7 3770k | 32GB DDR3 1886Mhz | 2x Vertex4 SSD Raid0
berni is offline
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 10:09.


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