[SOLVED]How to use this native
how to get the id of the attacker on this native get_user_attacker.
example: get_user_team(victim) == attacker |
Re: How to use this native
What do you mean? get_user_attacker() returns the id of the attacker.
Check the funcwiki before posting any question about a native or other function. http://www.amxmodx.org/funcwiki.php?..._att&go=search |
Re: How to use this native
Quote:
|
Re: How to use this native
http://www.amxmodx.org/funcwiki.php?go=func&id=159
get_user_team - Returns the id of a team. get_user_attacker - Returns the index of an attacking player. |
Re: How to use this native
In your example
PHP Code:
|
Re: How to use this native
Quote:
Quote:
|
Re: How to use this native
Code:
if(get_user_attacker(idvictim) == idattacker) |
Re: How to use this native
Thanks :)
__________ The zp plugin advaced antidote gun uses: PHP Code:
|
| All times are GMT -4. The time now is 14:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.