Blocking Flashlight For Terrorists Only (moved from Support/Help)
Hello. Im trying to block the flashlight for terrorists but my code does not seem to work....as i hoped it would. The Flashlight is not working for both terrorists and counter terrorists....and something is definetly wrong..that i can not figure out. Also the client_print will not show anything.....the function is not working properly and mp_flashlight is 1.
Code:
register_impulse(100, "cl_cmd") |
Re: Blocking Flashlight For Terrorists Only
Try changing this plugin to work for Ts only and not CTs:
http://forums.alliedmods.net/showpos...7&postcount=12 Change this: Code:
if(cs_get_user_team(player) == CS_TEAM_T)Code:
if(cs_get_user_team(player) == CS_TEAM_CT) |
Re: Blocking Flashlight For Terrorists Only
I want the flashlight to work for Ct's only and block the flashlight for T's. This plugin is allowing both t's and ct's to use a flashlight. I just want Ct's with flashlight :) . I did change it to if(cs_get_user_team(player) == CS_TEAM_CT) but didnt help.
Code:
#include <amxmodx> |
| All times are GMT -4. The time now is 21:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.