I got a question please.
#1

Hello,I'm wondering if there is anyway that I can make on my server the Sniper to be like 1 shot=1 kill,If it's possible please somebody tell me.
Reply
#2

http://forum.sa-mp.com/showthread.ph...yerShootPlayer
Reply
#3

Assuming you have 0.3d, use this code:

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(weaponid == 34)
    {
        SetPlayerHealth(playerid, 0.0);
    }
    return 1;
}
Reply
#4

use 0.3d Function better alot then OPSP
https://sampwiki.blast.hk/wiki/OnPlayerGiveDamage
Reply
#5

Never knew that function even existed, yes it's much better than what I suggested
Reply


Forum Jump:


Users browsing this thread: