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
#2

UPDATE
Reply
#3

Update, me need you help.
Reply
#4

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

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

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)