Attach Object
#1

Solved.
Reply
#2

if (strcmp("/xD", cmdtext, true, 3) == 0)
{
AttachObjectToPlayer( 1257, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
return 1;
}

try this.
Reply
#3

pawn Код:
if (strcmp( cmdtext,"/xD", true) == 0)
{
    new object = CreateObject(1257,0,0,0,0,0,0);
    AttachObjectToPlayer(object,playerid,1.5,0,0,1.5,2);
    return 1;
}
You need to assign a variable to the object.
Reply
#4

<Removed>
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)