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
#2

Why don't you just test..
Reply
#3

b/c someone who might ahve already done this can tell me...
Reply
#4

It doesn't take anymore than a few minutes to test ¬_¬
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)