[Y_Hooks] Problem with OnPlayerDamage
#1

I tried hooking "OnPlayerDamage" from weapon-config it didn't work, the code I used

PHP код:
hook OnPlayerDamage(&playerid, &Float:amount, &issuerid, &weapon, &bodypart
{
    
SetPlayerHealth(playerid1.0);
    return 
1;

It also doesn't work with Pawn.CMD callback "OnPlayerCommandPerformed(playerid, cmd[], params[], result, flags)"
Reply


Messages In This Thread
[Y_Hooks] Problem with OnPlayerDamage - by IdonTmiss - 06.09.2018, 16:40
Re: [Y_Hooks] Problem with OnPlayerDamage - by IdonTmiss - 06.09.2018, 17:04
Re: [Y_Hooks] Problem with OnPlayerDamage - by v1k1nG - 06.09.2018, 17:15
Re: [Y_Hooks] Problem with OnPlayerDamage - by IdonTmiss - 06.09.2018, 17:16

Forum Jump:


Users browsing this thread: 2 Guest(s)