[Help] FM_Touch - Grenade Touched a player
Hi,
the following code doesn't work, but i can't discover why. PHP Code:
What i want to do is something like the "Snowball war", when the grenade touches another player it kills him. I Tried to look in the source code of that plugin, but with no success; You can find the plugin here (SnowBall War) https://forums.alliedmods.net/showthread.php?p=735477 In the ColorChat messages, it never showed "grenade" or something like this, but it showed the "Presente" classname and also showed "weaponbox" when i took a weapon; It compiles fine, no errors and no warnings; "Presente" is an Entity that i created in another part of the plugin (Presente = gift). I Also tried with Ham_Touch and register_touch Thanks. |
Re: [Help] FM_Touch - Grenade Touched a player
Use register_touch from engine instead of fakemeta's FM_Touch hook.
|
| All times are GMT -4. The time now is 15:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.