How to used SendBulletData? YSF
#1

Tell me how I can use the SendBulletData of plug-YSF?
Give an example

MyCode
Код:
new Float:x,Float:y,Float:z,Float:x2,Float:y2,Float:z2;
GetPlayerPos(playerid,x,y,z);//Get Pos Player Shot
GetPlayerPos(twopalyer,x2,y2,z2);//Get Pos Player Take Damage
I've got a bullet flew by player and hit the twoplayer
Quote:

- SenderID = The ID that shot the bullet this is required to be a streamed and valid player, otherwise the bullet will not arrive.
- HitID = The ID of the player, vehicle or object that was hit.
- Hit Type = Read https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot.
- Hit Origin = From where the bullet came ? (actually useless but I'll include it anyway.)
- Hit Target = You need this for HITTYPE 0 otherwise the bullet will be at some point.
- Center Of Hit = The offset of the hit (on hittype higher than 0)

I still do not understand where to write any coordinates
Show how to use this as an example
Reply


Messages In This Thread
How to used SendBulletData? YSF - by Manowar - 04.03.2015, 11:03
Re: How to used SendBulletData? YSF - by Manowar - 04.03.2015, 13:47
Re: How to used SendBulletData? YSF - by Manowar - 04.03.2015, 17:18
Re: How to used SendBulletData? YSF - by Manowar - 04.03.2015, 17:20
Re: How to used SendBulletData? YSF - by CalvinC - 04.03.2015, 17:22
Re: How to used SendBulletData? YSF - by Manowar - 04.03.2015, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)