[Include] OnPlayerShootPlayer
#61

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.
Reply
#62

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?
Reply
#63

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

very useful include +rep
Reply
#65

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.
Reply
#66

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
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)