AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved console usage (https://forums.alliedmods.net/showthread.php?t=313282)

Nutu_ 01-03-2019 18:46

console usage
 
PHP Code:

register_concmd("amx_addslot","AddSLOT",ADMIN_LEVEL_G,"[AMXX] To add slot use amx_addslot <nick/steamid>"

but when i type amx_addslot on console it doesnt show me the information, it shows Client with that name or userid not found...

Nutu_ 01-03-2019 19:41

Re: console usage
 
Code:

if(!arg1[0]) {
                console_print(id, "[AMXX] To add slot use amx_addslot <nick/steamid>")
                return PLUGIN_HANDLED
        }

solved

thEsp 01-04-2019 13:20

Re: console usage
 
Add [Solved] tag on post so peoples don't get 'baited' :)


All times are GMT -4. The time now is 07:33.

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