I am making a script to spawn objects in random places on the map, but I have a question, is there a function that does this automatically or do I need to manually add the locations?
if getControlState ( "aim_weapon" ) and ( ped == localPlayer ) and getPedWeapon(localPlayer) == 34 then
setElementAlpha ( element, 0 )
end
use this in the bone_attach_c file
Thanks man, it helped a lot.
Last question, how can I make it replace only m4, is it possible?
As shown in the picture, if you have a shotgun or other weapon in your hand it will also replace.
is it possible for all players to see the texture I'm using in my gun but only I'm using it?
Example: I'm using a golden weapon texture and everyone on the server is watching it, but they're using another one.