[Tutorial] How to use SetPlayerAttachedObject [Beginners]
#21

Very useful. Thanks!
Reply
#22

Quote:
Originally Posted by Shockey HD
Посмотреть сообщение
Very useful. Thanks!
Thanks
Reply
#23

Well done Gameover, Good explained!
Reply
#24

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
Well done Gameover, Good explained!
Yep, thanks.
Reply
#25

Cool man i love this tutorial
Reply
#26

Your strcmp based command still has problems.
Reply
#27

Quote:
Originally Posted by [NoV]LaZ
Посмотреть сообщение
Your strcmp based command still has problems.
Well, works fine for me.
Reply
#28

Nice tutorial ... :P
Reply
#29

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.
Reply
#30

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.
Reply
#31

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.
Reply
#32

nice!
Reply
#33

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.
Reply
#34

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.
Reply
#35

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
Reply
#36

i found, dont need reply for me ^^
Reply
#37

Nice tut man!
Reply
#38

Thanks.
Reply
#39

Love it :P
Reply
#40

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
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)