[0.3.7] Actor Set Angle.
#1

Hello,
This is bug of Actor in 0.3.7
SetActorFacingAngle not work.
My code:
pawn Code:
new Actor;
CMD:createactor(playerid,params[])
{
    new Float:x,Float:y,Float:z;
    GetPlayerPos(playerid,x,y,z);
    Actor= CreateActor(170,x+1,y+1,z,0.0);
    return 1;
}
CMD:posactortest(playerid,params[])//work
{
        SetActorPos(Actor,0.0,0.0,3);
    return 1;
}
CMD:angleactortest(playerid,params[])//Not Work
{
    SetActorFacingAngle(Actor,random(360));
    return 1;
}
Reply
#2

Code:
SetActorFacingAngle(Actor,float(random(360)));
No?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)