11.04.2019, 17:20
(
Last edited by Vizi10; 12/04/2019 at 06:07 PM.
)
You first should create a var for the actor..
Now CreateDynamicActor symbol take OnGameModeInit:
And how to use SetDynamicActorPos:
pawn Code:
new MyActor;
pawn Code:
public OnGameModeInit()
{
MyActor = CreateDynamicActor(modelid, Float:x, Float:y, Float:z, Float:r);
//(modelid = skin id, float x, float y, float z, r = angle)
return 1;
}
pawn Code:
SetDynamicActorPos(MyActor, Float:x, Float:y, Float:z);