Raised This Month: $ Target: $400
 0% 

concmd arguments question


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
ehha
SourceMod Donor
Join Date: Apr 2006
Location: Sibiu
Old 05-10-2009 , 12:51   concmd arguments question
Reply With Quote #1

How can I tell the difference between the values of the 2nd argument, for example:
-amx_slap ehha 0
-amx_slap ehha

I want to make a concmd that does:
-something1 if 2nd arg is 0
-something2 if 2nd arg is not present
-something3 if 2nd arg is > 0
-nothing if 2nd arg is < 0

So how can I tell if the 2nd is 0 or nothing?

Thank you in advance.
ehha is offline
 



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 01:25.


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