PDA

View Full Version : Moving an attached object / Seting the size of an CreateObject


kelvin22
01/11/2012, 06:53 PM
Hello,

I am scripting an paintball gamemode and my friend told me that the paintballs are missing and yes he is right. So I need to set the size of object (beach ball) and then move it any idea how I can realise this? Also any suggestion for the ball?

iJumbo
01/11/2012, 06:58 PM
You can't resize the create object .. anyway you can resize the AttachedObject ..

check wiki for more info

kelvin22
01/11/2012, 07:02 PM
And any way to the the SetAttachedObject?

iJumbo
01/11/2012, 07:06 PM
No only with attachedObjects

http://wiki.sa-mp.com/wiki/SetPlayerAttachedObject

fScaleX (optional) X axis scale of the object.
fScaley (optional) Y axis scale of the object.
fScalez (optional) Z axis scale of the object.

kelvin22
01/11/2012, 07:14 PM
Any suggestion for any small ball object?

iJumbo
01/11/2012, 07:23 PM
19256,19059