SA-MP Forums Archive
How to modify an weapon? - 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: How to modify an weapon? (/showthread.php?tid=249406)



How to modify an weapon? - [ISS]Daniele_Tom - 18.04.2011

Hi, I want to know how to modify an weapon because i don't know D:

is there any guide?

Thanks!

Ps: sorry for my bad english.. xD


Re: How to modify an weapon? - Alby Fire - 18.04.2011

I guess this is not a modding support forum


Re: How to modify an weapon? - aircombat - 18.04.2011

what you mean with modifying ?


Re: How to modify an weapon? - [ISS]Daniele_Tom - 18.04.2011

I can say that how to modify an weapons with pawn... for example when I hit other player with the bat this player explodes... or when I shot with deagle instead of shoot the bullet, this weapon shoot the missile.

I hope I was clear...


Re: How to modify an weapon? - Stigg - 18.04.2011

You cant modify weps like that in samp.


Re: How to modify an weapon? - Kwarde - 18.04.2011

This can be scripted. Just use "IsPlayerAimingAt" etc., and when player shoots with eg. a deagle, create a missile object and let it moves forward. Then, create an explosion when it reached it's destination.
I won't make such thing for you. You should ask someone else.


Re: How to modify an weapon? - aircombat - 18.04.2011

use the OnPlayerShootPlayer Include