SA-MP Forums Archive
How to used SendBulletData? YSF - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to used SendBulletData? YSF (/showthread.php?tid=566195)



How to used SendBulletData? YSF - Manowar - 04.03.2015

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



Re: How to used SendBulletData? YSF - Manowar - 04.03.2015

UPDATE


Re: How to used SendBulletData? YSF - Manowar - 04.03.2015

Update, me need you help.


Re: How to used SendBulletData? YSF - Manowar - 04.03.2015

delete(dooble post send, i not special, this lag internet)


Re: How to used SendBulletData? YSF - CalvinC - 04.03.2015

You're only allowed to bump your topic once every 24 hours, not 2 minutes...
If nobody is responding here, try asking in the YSF topic, there might be more people that knows about it.


Re: How to used SendBulletData? YSF - Manowar - 04.03.2015

Quote:
Originally Posted by CalvinC
Посмотреть сообщение
You're only allowed to bump your topic once every 24 hours, not 2 minutes...
If nobody is responding here, try asking in the YSF topic, there might be more people that knows about it.
okay, thanks