Fighting Styles
#1

Alright so basically, I'm trying to make punches 'n kicks stronger.
It works perfecty with normal attacking but when it comes to using special fight styles attacks it doesn't work.

pawn Code:
if(GetPlayerWeapon(Shooter) == 0)
{
    new hit = strval(RPJLEx(Shooter, JOB_BOXER));
    new Float:OldHP; GetPlayerHealth(Target, OldHP);
    SetPlayerHealth(Target, OldHP-((hit*2)-2));
}
Using OnPlayerShootPlayer include, Any ideas?

Notes:
RPJLEx returns a job level.
Reply


Messages In This Thread
Fighting Styles - by iRage - 21.05.2012, 11:54
Re: Fighting Styles - by JaKe Elite - 21.05.2012, 12:06
Re: Fighting Styles - by $$inSane - 21.05.2012, 12:13
Re: Fighting Styles - by iRage - 21.05.2012, 12:17
Re: Fighting Styles - by MP2 - 21.05.2012, 12:27
Re: Fighting Styles - by JaKe Elite - 21.05.2012, 12:28
Re: Fighting Styles - by iRage - 21.05.2012, 12:50
Re: Fighting Styles - by 2KY - 21.05.2012, 12:51

Forum Jump:


Users browsing this thread: 3 Guest(s)