Object - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Object (
/showthread.php?tid=389463)
Object -
SamiHam - 02.11.2012
How to make OBJECT more bigger or more smaller what should i DO ?
Re: Object -
XtremeR - 02.11.2012
you can use SetObjectMaterial like
pawn Код:
myobject = CreateObject(19371, X, Y, Z+0.5, 0.0, 0.0, 0.0, 300.0);
SetObjectMaterial(myobject, materialindex, modelid, txdname[], texturename[], materialcolor)
.
https://sampwiki.blast.hk/wiki/SetObjectMaterial
Re : Object -
yusei - 02.11.2012
[remove sorry fail ]
Re: Object -
newbienoob - 02.11.2012
Quote:
Originally Posted by XtremeR
you can use SetObjectMaterial like
pawn Код:
myobject = CreateObject(19371, X, Y, Z+0.5, 0.0, 0.0, 0.0, 300.0); SetObjectMaterial(myobject, materialindex, modelid, txdname[], texturename[], materialcolor)
.
https://sampwiki.blast.hk/wiki/SetObjectMaterial
|
SetObjectMaterial is not for resizing object. It's for changing object's texture/color.
Re: Object -
iggy1 - 02.11.2012
Quote:
Originally Posted by SamiHam
How to make OBJECT more bigger or more smaller what should i DO ?
|
You can't change objects scale, you would need to create your own object and put it in the CUSTOM.img file.
Re: Object -
SamiHam - 02.11.2012
how to create my own object?