Set right position SetPlayerAttachedObject weapon hands
#1

I'm trying to change weapon color, and thats the way i found:
Код:
SetPlayerAttachedObject(playerid, 2, GetWeaponModel(wp2), 8, -0.079999, -0.039999, 0.109999, -90.100006, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000,0xFFFF1493,0xFFFF1493);
But it's not totally right position and players can see how wrong is it...



Anybody know how to set weapon in right position?
Reply
#2

Increase the size with the editor until it covers it fully.
Reply
#3

i've liked the idea, but it was too hard to set the right position
EditObject is the best way?
Anybody know how to set this pos? Should help a lot people
Reply
#4

Interesting i'll use it, if i can fix i share here...
But i have a question...
There is a way to set tint in objects on ground like this?
PHP код:
DropObject[i] = CreateDynamicObject(GetGunObjectID(GunID), XYZ-180.00.00.0world); 
Reply
#5

Why don't you guys use an attached object editor like: https://sampforum.blast.hk/showthread.php?tid=209234

Go in game and hold the gun then adjust the object on the hand properly, it will be easier.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)