AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Why is this not working? (https://forums.alliedmods.net/showthread.php?t=223216)

proffs 08-11-2013 04:02

Why is this not working?
 
I want to make that only admins should be able to type /stop.
This ain't working.

PHP Code:

register_clcmd"say /stop""StopNades",ADMIN_KICK ); 


Black Rose 08-11-2013 08:14

Re: Why is this not working?
 
Code:
public StopNades(id, level, cid) {     if ( ! cmd_access(id, level, cid, 0) )         return;     // Your code... }


All times are GMT -4. The time now is 15:50.

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