OPSP problem.
#1

Deagle is 1 shot 1 kill.
Any ideas ?
Reply
#2

after onplayershootplayer

PHP код:
SetPlayerHealth(Target0); 
it have to work
Reply
#3

What do you mean, after OPSP ?
after this ?
pawn Код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
And it sets the target's health to 0...
Reply
#4

PHP код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
    
SetPlayerHealth(Target0);
    return 
1;

that's it
Reply
#5

I need to test it, but I have no-one to with, lol.
Reply
#6

sorry do you meant with deagle..

PHP код:
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost

    new 
iWeapon GetPlayerWeapon(Shooter);
    if(
iWeapon == 24) {
        
SetPlayerHealth(Target0); 
    }
    return 
1

Reply
#7

Fixed it, I'm going to try it.
EDIT:
I ment that the bug is that deagle is doing 1 shot 1 kill, I want it to do 55 DMG n shit, lol.
Reply
#8

** FIXED, I JUST EDIT THE DAMAGE TO 20, SO IT DOES THE DEFAULT DAMAGE +20. **
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)