Skip to content

Natives (Actors) RU

Alexander edited this page Jun 1, 2017 · 4 revisions

ГлавнаяФункцииАктёры

Для получения более подробной информации посетите официальную SA-MP вики. Многие из данных функций схожи со стандартными.

  • CreateDynamicActor(modelid, Float:x, Float:y, Float:z, Float:r, invulnerable = 1, Float:health = 100.0, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_ACTOR_SD, areaid = STREAMER_TAG_AREA -1, priority = 0)
  • DestroyDynamicActor(actorid)
  • IsValidDynamicActor(actorid)
  • IsDynamicActorStreamedIn(actorid, forplayerid)
  • GetDynamicActorVirtualWorld(actorid)
  • SetDynamicActorVirtualWorld(actorid, vworld)
  • ApplyDynamicActorAnimation(actorid, animlib[], animname[], Float:fdelta, loop, lockx, locky, freeze, time)
  • ClearDynamicActorAnimations(actorid)
  • GetDynamicActorFacingAngle(actorid, &Float:ang)
  • SetDynamicActorFacingAngle(actorid, Float:ang)
  • GetDynamicActorPos(actorid, &Float:x, &Float:y, &Float:z)
  • SetDynamicActorPos(actorid, Float:x, Float:y, Float:z)
  • GetDynamicActorHealth(actorid, &Float:health)
  • SetDynamicActorHealth(actorid, Float:health)
  • SetDynamicActorInvulnerable(actorid, invulnerable = 1)
  • IsDynamicActorInvulnerable(actorid)
  • GetPlayerTargetDynamicActor(playerid)
  • GetPlayerCameraTargetDynActor(playerid)