Attaching Object just right
#1

pawn Код:
forward BriefCase();
public BriefCase()
{
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if( PlayerInfo[i][pCash] > 29999 )
            {
                SetPlayerAttachedObject(i, 1, 1210, 6, 6,0.3,0.1, 0, 0, -90, 1.000000, 1.000000, 1.000000 );
            }
            else if( PlayerInfo[i][pCash] < 30000 )
            {
                RemovePlayerAttachedObject(i, 1);
            }
         }
    }
    return 1;
}
everything iz okay but the object isnt attach propery can someone give me the correct code for attaching it
and removing i was wondering if itz the index or something but if someone can fix much appreciate
Reply
#2

use proper spelling/grammar and the right coordinates. The last one is a process of trial and error.
Reply
#3

idc how i type all i need it the correct
coords 4 the object all this small is unwanted
Reply
#4

try these
Quote:

x= 0.4301
y= 0.0549
z= -0.2900
rotz= 76.0400

Reply
#5

SetPlayerAttachedObject(i, 1, 1210, 6, 6,0.3,0.1, 0, 0, -90, 1.000000, 1.000000, 1.000000 );
anyone with a more direct setplayerattachedobject
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)