Big Weapons, How to do? - 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: Big Weapons, How to do? (
/showthread.php?tid=563000)
Big Weapons, How to do? -
LorDWarS - 13.02.2015
hey,
i want to create a big weapons, i realized that its make by SetPlayerAttachedObject, buy i dont understand how.
help?
Re: Big Weapons, How to do? -
Airman123 - 13.02.2015
You want to attach the weapons to the body? and re-size them
Re: Big Weapons, How to do? -
CalvinC - 13.02.2015
Quote:
pawn Код:
(playerid, index, modelid, bone, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ, materialcolor1, materialcolor2)
playerid The ID of the player to attach the object to.
index The index (slot) to assign the object to (0-9 since 0.3d, 0-4 in previous versions).
modelid The model to attach.
bone The bone to attach the object to.
fOffsetX (optional) X axis offset for the object position.
fOffsetY (optional) Y axis offset for the object position.
fOffsetZ (optional) Z axis offset for the object position.
fRotX (optional) X axis rotation of the object.
fRotY (optional) Y axis rotation of the object.
fRotZ (optional) Z axis rotation of the object.
fScaleX (optional) X axis scale of the object.
fScaley (optional) Y axis scale of the object.
fScalez (optional) Z axis scale of the object.
materialcolor1 (optional) The first object color to set, as an integer or hex in ARGB color format.
materialcolor2 (optional) The second object color to set, as an integer or hex in ARGB color format
|
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
Re: Big Weapons, How to do? -
LorDWarS - 14.02.2015
Quote:
Originally Posted by CalvinC
|
yes, i know that its made by SetPlayerAttachedObject, buy - how i can change the attached object size?
Re: Big Weapons, How to do? -
SnG.Scot_MisCuDI - 14.02.2015
Quote:
Originally Posted by LorDWarS
yes, i know that its made by SetPlayerAttachedObject, buy - how i can change the attached object size?
|
Reeeead man, reeeadddd.
Код:
fScaleX (optional) X axis scale of the object.
fScaley (optional) Y axis scale of the object.
fScalez (optional) Z axis scale of the object.
Re: Big Weapons, How to do? -
LorDWarS - 14.02.2015
Quote:
Originally Posted by SnG.Scot_MisCuDI
Reeeead man, reeeadddd.
Код:
fScaleX (optional) X axis scale of the object.
fScaley (optional) Y axis scale of the object.
fScalez (optional) Z axis scale of the object.
|
you know what the original size of RPG?
Re: Big Weapons, How to do? -
LorDWarS - 15.02.2015
UP..