SA-MP Forums Archive
Question. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question. (/showthread.php?tid=243446)



Question. - TheYoungCapone - 23.03.2011

Well, what I am trying to do is when a player shoots another player it will attach an object to the player that has been shot would I go about doing this?


Re: Question. - TheYoungCapone - 23.03.2011

Quote:
Originally Posted by [GM]Sasino97
Посмотреть сообщение
What? lol You Want Like e.g (I Shoot You (kill you) And your Body Attach To My Body?))
I wrote the question wrong read it again XD


Re: Question. - Stigg - 23.03.2011

Quote:
Originally Posted by [GM]Sasino97
Посмотреть сообщение
What? lol You Want Like e.g (I Shoot You (kill you) And your Body Attach To My Body?))
Your gonna have trouble trying to do this, because when the player get's shot (dead)the player respawns.


Re: Question. - TheYoungCapone - 23.03.2011

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Your gonna have trouble trying to do this, because when the player get's shot (dead)the player respawns.
I just wanna know how to attach an object to a player that has been shot (not killed) just shot.


Re: Question. - Stigg - 23.03.2011

Quote:
Originally Posted by TheYoungCapone
Посмотреть сообщение
I just wanna know how to attach an object to a player that has been shot (not killed) just shot.
Sozz, thought you said killled, but have a look at this, it may help you:

http://forum.sa-mp.com/showthread.ph...ghlight=aiming


Re: Question. - mrcoolballs - 23.03.2011

Or do you mean attach yourself as if you are using a grapple?


Re: Question. - TheYoungCapone - 23.03.2011

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Sozz, thought you said killled, but have a look at this, it may help you:

http://forum.sa-mp.com/showthread.ph...ghlight=aiming
how do i save the .txd file as an include?


Re: Question. - Stigg - 23.03.2011

save as
Код:
.inc



Re: Question. - Lutsen - 23.03.2011

Use the OnPlayerShootPlayer function, and attach an object to the targetid.
For the include look here:

https://sampforum.blast.hk/showthread.php?tid=195439

Have fun, btw i know you, right?


Re: Question. - TheYoungCapone - 23.03.2011

Quote:
Originally Posted by Lutsen
Посмотреть сообщение
Use the OnPlayerShootPlayer function, and attach an object to the targetid.
For the include look here:

https://sampforum.blast.hk/showthread.php?tid=195439

Have fun, btw i know you, right?
yes i think you know me