Re: How to use SetPlayerAttachedObject [Beginners] -
Shockey HD - 07.09.2011
Very useful. Thanks!
Re: How to use SetPlayerAttachedObject [Beginners] -
=WoR=G4M3Ov3r - 07.09.2011
Quote:
Originally Posted by Shockey HD
Very useful. Thanks!
|
Thanks
Re: How to use SetPlayerAttachedObject [Beginners] -
Davz*|*Criss - 09.09.2011
Well done Gameover, Good explained!
Re: How to use SetPlayerAttachedObject [Beginners] -
=WoR=G4M3Ov3r - 09.09.2011
Quote:
Originally Posted by Davz*|*Criss
Well done Gameover, Good explained!
|
Yep, thanks.
Re : How to use SetPlayerAttachedObject [Beginners] -
Naruto_Emilio - 11.09.2011
Cool man i love this tutorial
Re: How to use SetPlayerAttachedObject [Beginners] -
[NoV]LaZ - 11.09.2011
Your strcmp based command still has problems.
Re: How to use SetPlayerAttachedObject [Beginners] -
=WoR=G4M3Ov3r - 12.09.2011
Quote:
Originally Posted by [NoV]LaZ
Your strcmp based command still has problems.
|
Well, works fine for me.
Re: How to use SetPlayerAttachedObject [Beginners] -
IstuntmanI - 12.09.2011
Nice tutorial ... :P
Re: How to use SetPlayerAttachedObject [Beginners] -
[NoV]LaZ - 12.09.2011
Quote:
Originally Posted by G4M3Ov3r
Well, works fine for me.
|
Now after you've edited it. It had a missing bracket, not good for newbies to learn from.
Re: How to use SetPlayerAttachedObject [Beginners] -
=WoR=G4M3Ov3r - 13.09.2011
Quote:
Originally Posted by costel_nistor96
Nice tutorial ... :P
|
Thanks
Quote:
Originally Posted by [NoV]LaZ
Now after you've edited it. It had a missing bracket, not good for newbies to learn from.
|
No it doesn't, why don't you copy it and try using it in your .pwn and see for yourself.
Re : Re: How to use SetPlayerAttachedObject [Beginners] -
Alvin007 - 13.09.2011
Quote:
Originally Posted by Kitten
Nice tut , useful for newbies.
|
it's not usefull for newbies , he have'nt explaint anything , where the object will spawn ? how to set positions for all skins ? as their bones are'nt equal.
Re: How to use SetPlayerAttachedObject [Beginners] -
HotPlayer - 13.09.2011
nice!
Re : Re: How to use SetPlayerAttachedObject [Beginners] -
Alvin007 - 13.09.2011
Quote:
Originally Posted by Kitten
Nice tut , useful for newbies.
|
it's not usefull for newbies , he have'nt explaint anything , where the object will spawn ? how to set positions for all skins ? as their bones are'nt equal.
Re: Re : Re: How to use SetPlayerAttachedObject [Beginners] -
=WoR=G4M3Ov3r - 13.09.2011
Quote:
Originally Posted by Alvin007
it's not usefull for newbies , he have'nt explaint anything , where the object will spawn ? how to set positions for all skins ? as their bones are'nt equal.
|
Read it again ^^, and don't post useless shit, without reading, skins has nothing to do, and i believe i said what Bones are.
Re : How to use SetPlayerAttachedObject [Beginners] -
timaoux - 14.09.2011
i use it like
COMMAND:glass(playerid, params[])//glass red
{
new glass;
new Float:X, Float:Y, Float:Z;
new Float:rX, Float:rY, Float:rZ;
GetPlayerPos(playerid, X, Y, Z);
glass = CreateObject(19006, X, Y, Z, rX, rY, rZ, 60);
AttachObjectToPlayer(glass, playerid, 0.0, 0.0, 0.85, 0.0, 0.0, 90.0);
SetPlayerAttachedObject(playerid, 1, glass, 2);
return 1;
}
doesnt work
and if i use it like
COMMAND:glass(playerid, params[])//glass red
{
new glass;
new Float:X, Float:Y, Float:Z;
new Float:rX, Float:rY, Float:rZ;
GetPlayerPos(playerid, X, Y, Z);
glass = CreateObject(19006, X, Y, Z, rX, rY, rZ, 60);
SetPlayerAttachedObject(playerid, 1, glass, 2);
return 1;
}
doesnt work too
please help me
thx
Re : How to use SetPlayerAttachedObject [Beginners] -
timaoux - 14.09.2011
i found, dont need reply for me ^^
Re: How to use SetPlayerAttachedObject [Beginners] -
HotPlayer - 14.09.2011
Nice tut man!
Re: How to use SetPlayerAttachedObject [Beginners] -
=WoR=G4M3Ov3r - 14.09.2011
Thanks.
Re : How to use SetPlayerAttachedObject [Beginners] -
Naruto_Emilio - 16.09.2011
Love it :P
Re: How to use SetPlayerAttachedObject [Beginners] -
Issam - 16.09.2011
Nicely done,il use it when il script holding objects
but PLEASE add this,so i wont have to look for WIKIPEDIA!!
Код:
-- This is from the SA-MP wikia.
0 - Not usable (will crash the client)
1 - Spine
2 - Head
3 - Left upper arm
4 - Right upper arm
5 - Left hand
6 - Right hand
7 - Left thigh
8 - Right thigh
9 - Left foot
10 - Right foot
11 - Right calf
12 - Left calf
13 - Left forearm
14 - Right forearm
15 - Left clavicle
16 - Right clavicle
17 - Neck
18 - Jaw