Preskoči na vsebino

GetActorSkin

opozorilo

This function was added in omp v1.1.0.2612 and will not work in earlier versions!

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