AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Ban problem (https://forums.alliedmods.net/showthread.php?t=146761)

dejan 12-31-2010 20:46

Ban problem
 
How can i log player into banlist when they get banned?
i use this code and when the player get banned you cant unban him/her
PHP Code:

server_cmd("banid %i #%i kick;wait;writeid",get_pcvar_num(g_ban_time),get_user_userid(Name[id])) 


fysiks 12-31-2010 23:41

Re: Ban problem
 
See admincmd.sma Use SteamID instead of UserID.


All times are GMT -4. The time now is 02:09.

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