Commands:
sm_flashlight: (bind t sm_flashlight) this is a secondary command for player to bind.
Convars:
A config is made also in cfg/sourcemod/ folder.
sm_flashlight_lookatweapon: (def 1) disables the hook of +lookatweapon.
sm_flashlight_return: (def 0) determines whether to ignore the command completely or to continue the command.
Convar: (cont)
1. If you want to have the +lookatweapon to still work and not turn on flashlight, and just have the command: sm_flashlight, set the following cvars to these values: (no need to set return to anything cause the cvar is skipped due to the fact lookatweapon cvar is checked first in the hook.
Code:
sm_flashlight_lookatweapon 0
2. If you want to have +lookatweapon still look at the weapon and turn on the flashlight use this config:
Code:
sm_flashlight_lookatweapon 1
sm_flashlight_return 1
3. The third option is my favorite cause it replaces a command i never use (+lookatweapon) which is the default variables. Uses this config.
Code:
sm_flashlight_lookatweapon 1
sm_flashlight_return 0
Eklentiyi aşşağıdaki İNDİR tuşuna basarak indirebilirsiniz.
Ekstra olarak bu eklentiler bizim serverlarımızda tek tıklama ile panelden kurulabilmektedir.
Eklenti kurulumunu bilmiyorsanız, öğrenmek için buraya tıklayınız
Dosyayı indir