முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetActorSkin

எச்சரிக்கை

செயல்பாடு என்பது omp v1.1.0.2612 பதிப்பில் சேர்க்கப்பட்டது. இது முந்தைய பதிப்புகளில் இயங்காது!

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