AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Display Usage if all Arguments aren't entered. (https://forums.alliedmods.net/showthread.php?t=27536)

SamsChoice 04-23-2006 22:07

Display Usage if all Arguments aren't entered.
 
hello, i'm workin on a plugin, but i have a stupid problem, how can i have my plugin check to make sure all 3 arguments are filled in.. if not then display the usage of the plugin?


example:
amx_plugin name mode 1/0 - (would make the plugin continue)
amx_plugin name 1/0 - (would make the plugin display the Usage since mode isn't specified)


thanks.

Twilight Suzuka 04-23-2006 22:09

cmd_access stock

SamsChoice 04-24-2006 01:35

thx =) didn't even think about that :D


All times are GMT -4. The time now is 05:03.

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