Attachobject
#1

Hello

I want to know why this command doesn't attach a object to my player:

pawn Код:
if(!strcmp("/cow", cmdtext, true))
    {
                  AttachObjectToPlayer(16442, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
    }
    return 0;
}
So it should attach a cow to me and i can move with it, but it doesnt attach it
Reply
#2

pawn Код:
if(!strcmp("/cow", cmdtext, true))
    {
        AttachObjectToPlayer(16442, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
        return 1;
    }
Reply
#3

And for delete it?

EDIT: It doesn't add nothing to the player...
Reply
#4

Код:
Try to make it as ZCMD, Maybe will work:
 CMD:cow(playerid, params[]) {
AttachObjectToPlayer(16442, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
}
return 1;
}
Reply
#5

It worked, but do u know how to put the camera more far? for see the cow good?
Reply
#6

Quote:
Originally Posted by RatHack
Посмотреть сообщение
It worked, but do u know how to put the camera more far? for see the cow good?
What do you mean?
Reply
#7

The skin is soo near my screen, i want it more far for see the Cow correctly
Reply
#8

Quote:
Originally Posted by RatHack
Посмотреть сообщение
The skin is soo near my screen, i want it more far for see the Cow correctly
Press V ingame, or that's not enough?
Reply
#9

You mean the cow coords?
Reply
#10

Mr.1337, i mean to put the camera position more far, like pressing V. V doesn't work because my skin is inside the cow..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)