2020-10-12, 07:32 PM
Hello bros, i want to know if it?s possible to make weapons to have laser pointer, and any idea or help of how to do this, Thank you!
[Pawn] Laser pointer on weapons
|
2020-10-12, 07:32 PM
Hello bros, i want to know if it?s possible to make weapons to have laser pointer, and any idea or help of how to do this, Thank you!
Depends on what effect you wanna go for. This one can be done with SetPlayerAttachedObject:
https://youtu.be/SSvLRHKIdzk?t=66 But if you want to go with the more red dot on the head type of effect instead you need ColAndreas: https://youtu.be/aSabQWqQBkI?t=38
2020-10-13, 10:21 PM
Hello bro, i want like the first one, any idea?
When a player switches weapons it checks if the weapon they switched to has a laser, if it has you attach it onto the players hands. If they switch to another weapon you destroy the object.
Most of what you need is here. https://www.open.mp/docs/scripting/funct...chedObject And the laser objects are https://dev.prineside.com/en/gtasa_samp_...h/?q=laser Good luck!
2020-10-14, 07:15 PM
Thanks bro! have a wonderful day
|