Raised This Month: $51 Target: $400
 12% 

Question(s) about Blind command [funcommands]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Christpilled
New Member
Join Date: May 2021
Location: Chile
Old 05-29-2021 , 15:20   Question(s) about Blind command [funcommands]
Reply With Quote #1

I've been an admin on a server for a while and every once in a while I start an event where I bring every person on the server to the middle of the map, blind them and make them fight. The command I use to blind the server is: sm_blind @all 1000

I've tried lower values but they are very inconsistent. Can anybody give me the full explanation on how this command works and how the values are processed? I can't find anything else online

As an extra, how do I change between blind modes? There's 2 types of blinds, full and half. I found out about them while using the blind from the admin menu, but I can't see any way of specifying types while manually typing commands
__________________
i am le epic admin in a random server. don't tell the owner i spam the slap command
Christpilled is offline
TomL.
Veteran Member
Join Date: Oct 2017
Location: Germany
Old 05-29-2021 , 15:31   Re: Question(s) about Blind command [funcommands]
Reply With Quote #2

Use a value between 0-255.
TomL. is offline
Christpilled
New Member
Join Date: May 2021
Location: Chile
Old 05-29-2021 , 20:05   Re: Question(s) about Blind command [funcommands]
Reply With Quote #3

Quote:
Originally Posted by TomL. View Post
Use a value between 0-255.
How are the values processed though? 10 doesn't do anything, so it can't be seconds. So maybe 10 counts as 1.0 seconds instead of 10 seconds? And 100 is read as 10.0 and so on?
__________________
i am le epic admin in a random server. don't tell the owner i spam the slap command
Christpilled is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-29-2021 , 20:30   Re: Question(s) about Blind command [funcommands]
Reply With Quote #4

The value determines how blind the player will be.

0 = not blind (off/normal)
255 = fully blind

Since 10 is closer to 0, you'll hardly notice any difference when using that value. Try something like 200.

You mentioned that the Blind menu gives you two options: Fully Blind and Half Blind
These are the values they represent:

Fully Blind = 255
Half Blind = 240

PHP Code:
AddTranslatedMenuItem(menu"255""Fully blind"client);
AddTranslatedMenuItem(menu"240""Half blind"client);
AddTranslatedMenuItem(menu"0""No blind"client); 
__________________
Psyk0tik is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:53.


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