AttachObjectToPlayer function
#1

AttachObjectToPlayer( objectid, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );

How are the axis aranged? like this?

Top view:

Front of Player
+Y


LEFT -X --O-- +X RIGHT


-Y
Behind player

If not can you show me how? Also some other questions

1. Can you attach more than one player to just 1 single object?
2. When you attach the object to player does the object go to player or does the player go to object?
3. can I do

Код:
//top
new OBJECT;

//OnGameModeInIt
OBJECT = CreateObject....

//OnPlayerCommandText
AttachObjectToPlayer( OBJECT, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
?

4. If I do the code above, will everyone see the object? (All Players)
Reply


Messages In This Thread
AttachObjectToPlayer function - by Enzo_Ferrari_V12 - 13.05.2009, 23:28
Re: AttachObjectToPlayer function - by yom - 13.05.2009, 23:41
Re: AttachObjectToPlayer function - by Enzo_Ferrari_V12 - 13.05.2009, 23:43
Re: AttachObjectToPlayer function - by Redirect Left - 13.05.2009, 23:44

Forum Jump:


Users browsing this thread: 1 Guest(s)