concmd arguments question
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. |
Re: concmd arguments question
|
Re: concmd arguments question
Quote:
http://www.amxmodx.org/funcwiki.php?go=func&id=175 PHP Code:
|
Re: concmd arguments question
Cool! Thank you both.
I spend a hour or so trying with some (stupid) methods to get the to this only with read_argv :D Thanks again. |
| All times are GMT -4. The time now is 01:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.