[Help] Very simple
I just want to get active For T team
I do not know how to use this command; PHP Code:
PHP Code:
|
Re: [Help] Very simple
In public fwd_PlayerPreThink(id) command add
PHP Code:
Code:
1 = Terrorist |
Re: [Help] Very simple
Thanks, worked.
|
Re: [Help] Very simple
I would advise to try avoid use magic numbers. https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/CONTRIBUTING.md#avoid-magic-numbers
Use the https://www.amxmodx.org/api/cstrike#counter-strike-team-id-constants. As CS_TEAM_CT is from an enum, use _: to untag. Code:
|
Re: [Help] Very simple
Quote:
|
Re: [Help] Very simple
If the enum is available I'd rather see 'CS_TEAM_T' than '1'. Not saying I'd add the cstrike include just for that, but if it's there use it. I try to eliminate numbers that stand for things whenever I can, and do usually make enums.
|
Re: [Help] Very simple
Look for fm_get_user_team if you don't want to include the cstrike module. It's actually the same, you will have to define function,team offsets and enum, I've seen it while scripting into biohazard source code, you can copy it from that plugin.
|
Re: [Help] Very simple
Tamam sakin olun şampiyonlar benim için kavga etmeyin :))
|
Re: [Help] Very simple
OK champions calm, do not fight for me
|
All times are GMT -4. The time now is 03:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.