Help! Angle player to RotZ object
#1

My code
pawn Код:
CMD:attach(playerid,params[])
{
    new Float:angle;
    GetPlayerFacingAngle(playerid,angle);
    new Float:x,Float:y,Float:z;
    GetObjectPos(Bida[0][bBall][0],x,y,z);
    PlayerBida[playerid][bPOPool] = CreatePlayerObject(playerid,3004,x,y,z,0,0,-angle);
    return 1;
}
Image

Reply
#2

https://sampwiki.blast.hk/wiki/GetObjectRot
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)