AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Temporarily block a command for a certain player (https://forums.alliedmods.net/showthread.php?t=152712)

T-z3P 03-13-2011 04:47

[HELP] Temporarily block a command for a certain player
 
Hello there . How to temporarily block a command for a certain player via console command ?

zeus 03-13-2011 05:30

Re: [HELP] Temporarily block a command for a certain player
 
PHP Code:

public cmd(id)
{
    if(!
g_canuse[id])
        return;


Some where in the plugin set g_canuse[id] true or false


All times are GMT -4. The time now is 14:30.

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