02.08.2014, 08:02
You have a mistake, check the wiki: https://sampwiki.blast.hk/wiki/OnPlayerWeaponShot .
(if you hit a player/vehicle you are simply creating explosion at offsets, not at coordinates)
You defined a lot of colors for what ?
It's a pretty basic script, but it's good for the start, nice job.
Quote:
If hittype is: - BULLET_HIT_TYPE_NONE: the fX, fY and fZ parameters are normal coordinates, will give 0.0 for coordinates if nothing was hit (e.g. far object that the bullet can't reach); - Others: the fX, fY and fZ are offsets relative to the hitid. |
You defined a lot of colors for what ?
It's a pretty basic script, but it's good for the start, nice job.