AlliedModders

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

JCobra 01-28-2007 15:38

is_user_bot
 
How do you use the
is_user_bot ( index ) function?

What I want to do is something like..


Code:
    is_user_bot(id) & 1 ))




(I assumed & 1, because of the get_user_flags command and the 1 because it is supposed to return a 1 if user is a bot, a 0 if not)
And if the user is a bot then, whatever I can take it from there :p

I just need help with that...

s p l i t 01-28-2007 15:48

Re: is_user_bot
 
Code:
if(is_user_bot(index)) {    //.... }


All times are GMT -4. The time now is 00:41.

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