Pet on shoulder system
#1

Hello everyone, i want a system that allow admins to put a pet on their shoulder with a command.
The pets would be a Shark and turtle.
I know i could make this with SetPlayerAttachedObject or how its called, but i don't know how to shrink the size of the shark/turtle (they are objects).

~~Any sugestion is very apreciated!
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

'fScaleX', 'fScaleY' and 'fScaleZ' are the parameters that control the size of the object. You can use those parameters to determine the pet's size.
Reply
#3

Quote:
Originally Posted by Threshold
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

'fScaleX', 'fScaleY' and 'fScaleZ' are the parameters that control the size of the object. You can use those parameters to determine the pet's size.
And should i make them equal? Like 'fScaleX' = 10, 'fScaleY' = 10, 'fScaleZ' = 10?
Reply
#4

Removed. Coords of another object.. sorry
Reply
#5

i think X should be + or - depends on shoulder 0.90
and Z should be +1.40 depends on the skins since not all skins are the same height
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)