SA-MP Forums Archive
[Include] OnPlayerShootPlayer - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] OnPlayerShootPlayer (/showthread.php?tid=195439)

Pages: 1 2 3 4


Re: OnPlayerShootPlayer - Parallex - 03.06.2014

Quote:
Originally Posted by AiRaLoKa
Посмотреть сообщение
it's titled V8.4 but on the pastebin (exactly on the comment) is written v8.3.
it's make me confused...
pawn Код:
/********************************************
 * OnPlayerShootPlayer! V8.3                *
 * Credits: wups                                                        *
 * Double-O-Seven for CrossProduct system   *
 * Nero3D for GetPlayerCameraWeaponVector   *
 ********************************************/
EDIT:
the only one reason i still use this include is becouse if i use OnPlayerTakeDamage, it's will never called. Why? becouse i use OPSP to detect if player is have godmode or not. if player is have godmode, he will never take damage -_-
Awesome. You bumped a year old thread.


Re: OnPlayerShootPlayer - Niko_boy - 03.06.2014

Quote:
Originally Posted by AiRaLoKa
Посмотреть сообщение
it's titled V8.4 but on the pastebin (exactly on the comment) is written v8.3.
it's make me confused...
pawn Код:
/********************************************
 * OnPlayerShootPlayer! V8.3                *
 * Credits: wups                                                        *
 * Double-O-Seven for CrossProduct system   *
 * Nero3D for GetPlayerCameraWeaponVector   *
 ********************************************/
EDIT:
the only one reason i still use this include is becouse if i use OnPlayerTakeDamage, it's will never called. Why? becouse i use OPSP to detect if player is have godmode or not. if player is have godmode, he will never take damage -_-
Isn't OnPlayerGiveDamage is quite a good substitute to this?


Re: OnPlayerShootPlayer - AiRaLoKa - 03.06.2014

Quote:
Originally Posted by Tamer T
Посмотреть сообщение
OnPlayerWeaponShot may help you.
okay, i'll search for it


Re: OnPlayerShootPlayer - AgusZ - 20.01.2015

very useful include +rep


Re: OnPlayerShootPlayer - 1proplayer1 - 06.09.2015

is not working

C:\Users\AbdElkarem\Desktop\test\pawno\include\OPS P.inc(63) : warning 219: local variable "Angle" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.


Re: OnPlayerShootPlayer - Dayvison_ - 06.09.2015

Quote:
Originally Posted by 1proplayer1
Посмотреть сообщение
is not working
Use OnPlayerTakeDamage or OnPlayerWeaponShot

Read LOL
Quote:
Originally Posted by wups
Посмотреть сообщение
EDIT 2013: THIS INCLUDE IS OLD AND OUTDATED! SA-MP HAS DEVELOPED NATIVE