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;
}
SetActorFacingAngle(Actor,float(random(360)));