[Help]Guns Effect
#1

i want to make a tazer when a player gets hit by silenced pistol

and i can think on making some orther effects on orther weapons,

does someone know how to define when a player gets hit by a gun in script?
Reply
#2

Search, this has been asked plenty of times.
Reply
#3

i found this but it doesnt show when a player gets hit

pawn Код:
public OnPlayerKeyStateChange(playerid, oldkeys, newkeys)
{
    if((newkeys & KEY_FIRE) && GetPlayerWeapon == some weapon id)    
{
        //tazer cmd    
}
}
i tried searching but in 200 threads only 1 is about this but i dont understand it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)