Aller au contenu principal

GetActorSkin

attention

La fonctionnalité de type fonction a été ajoutée dans la version omp v1.1.0.2612 et ne fonctionne pas avec les versions antérieures !

Description​

Get the skin of the actor.

NameDescription
actoridThe ID of the actor to get.

Return Values​

Returns the actor's current skin.

Examples​

new gMyActor;

public OnGameModeInit()
{
gMyActor = CreateActor(179, 1153.9640, -1772.3915, 16.5920, 0.0000);

new actorSkinID = GetActorSkin(gMyActor);
// The value of `actorSkinID` is now 179
return 1;
}