Function to check wall kill?
PHP Code:
|
Re: [HELP] Function to check wall kill?
What do you want to check ? If the player hits a wall when shooting ?
|
Re: [HELP] Function to check wall kill?
It sounds like he wants to detect when a player killed another player through a wall.
|
Re: [HELP] Function to check wall kill?
Quote:
I can check with DeathMsg event a simple headshot (hitted not through a wall) PHP Code:
PHP Code:
|
Re: [HELP] Function to check wall kill?
Definitely doable. Try this and see if it works:
PHP Code:
|
Re: [HELP] Function to check wall kill?
Won't compile.
Error: Undefined symbol "MAX_PLAYERS" on line 9 Error: Invalid array size (negative or zero) on line 9 Line 9: new bool:g_bLastAttackWasWall[ MAX_PLAYERS + 1 ][ MAX_PLAYERS + 1 ]; |
Re: [HELP] Function to check wall kill?
Sorry try now
|
Re: [HELP] Function to check wall kill?
Quote:
Still getting the same error. If I add that const MAX_PLAYERS, plugin is compiling, but my server crashes. |
Re: [HELP] Function to check wall kill?
I edited it again, try that. Sorry, this is due to a constant for MAX_PLAYERS being added to AMX-X 1.8.3. Working for me with no crash.
https://dl.dropboxusercontent.com/u/97433215/CS.png |
Re: [HELP] Function to check wall kill?
Quote:
|
| All times are GMT -4. The time now is 18:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.