Need help with cs_get_user_team
Hello, i want to do the granades pickup only for T but when im doing that its good but i have logs
Code:
L 11/04/2018 - 16:44:17: [AMXX] [0] csnadedrops.sma::pfn_touch (line 176) Line 175 Code:
public pfn_touch(ptr,ptd) |
Re: Need help with cs_get_user_team
Check if the user is connected before retreiving his team.
|
Re: Need help with cs_get_user_team
Quote:
|
Re: Need help with cs_get_user_team
???
Code:
if (!is_user_alive(ptd), cs_get_user_team(ptd) == 1) Code:
if (!is_user_alive(ptd) || cs_get_user_team(ptd) == CS_TEAM_T) |
Re: Need help with cs_get_user_team
Quote:
|
Re: Need help with cs_get_user_team
You want to do something if a player is terrorist, right.
Use this PHP Code:
If ( player is dead OR is terrorist ) |
Re: Need help with cs_get_user_team
Sorry busy, reading again the code I focus only on the error on ",", my mistake.
|
All times are GMT -4. The time now is 01:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.