Multijump
I need multijump to be avaible only for CT's. It compiles normally, but then it doesn't work at all :3
Code:
#include <amxmodx> |
Re: Multijump
Replace all
PHP Code:
PHP Code:
|
Re: Multijump
use: get_user_team == 1 | 2 | 3
or: cs_get_user_team == CS_TEAM_T | CS_TEAM_CT | CS_TEAM_SPEC |
Re: Multijump
Quote:
|
Re: Multijump
Ill try that.
EDIT: It works :) Thanks :) |
Re: Multijump
Quote:
|
Re: Multijump
Quote:
|
Re: Multijump
Quote:
He was most likely coding for logic: If the player's team is Terrorist, Counter-Terrorist, or Spectator Code:
if( cs_get_user_team( iPlayer ) == CS_TEAM_T || CS_TEAM_CT || CS_TEAM_SPECTATOR ) 1. Code:
if( cs_get_user_team( iPlayer ) == CS_TEAM_T || cs_get_user_team( iPlayer ) == CS_TEAM_CT || cs_get_user_team( iPlayer ) == CS_TEAM_SPECTATOR ) Code:
new CsTeams:iTeam = cs_get_user_team( iPlayer ); Code:
if( ( 1 << ( _:cs_get_user_team( iPlayer ) ) ) & ( ( 1 << ( _:CS_TEAM_T ) ) | ( 1 << ( _:CS_TEAM_CT ) ) | ( 1 << ( _:CS_TEAM_SPECTATOR ) ) ) ) |
Re: Multijump
I think what Bugsy was saying is that it wasn't code that he was posting. He was trying to say use get_user_team() with 1, 2, or 3 and cs_get_user_team() with CS_TEAM_T, etc.
|
Re: Multijump
Quote:
|
All times are GMT -4. The time now is 02:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.