Passa al contenuto principale

GetActorSkin

Avviso

La funzione è stata aggiunta nella versione omp v1.1.0.2612 e non funziona nelle versioni precedenti!

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;
}