Skip to content
ZKelo edited this page Jun 28, 2017 · 2 revisions

ГлавнаяАвто-вызываемые функции

  • OnDynamicObjectMoved(objectid)
  • OnPlayerEditDynamicObject(playerid, objectid, response, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz)
  • OnPlayerSelectDynamicObject(playerid, objectid, modelid, Float:x, Float:y, Float:z)
  • OnPlayerShootDynamicObject(playerid, weaponid, objectid, Float:x, Float:y, Float:z)
    • If a return value of 0 is specified, the weapon shot will not be registered.
  • OnPlayerPickUpDynamicPickup(playerid, pickupid)
  • OnPlayerEnterDynamicCP(playerid, checkpointid)
  • OnPlayerLeaveDynamicCP(playerid, checkpointid)
  • OnPlayerEnterDynamicRaceCP(playerid, checkpointid)
  • OnPlayerLeaveDynamicRaceCP(playerid, checkpointid)
  • OnPlayerEnterDynamicArea(playerid, areaid)
  • OnPlayerLeaveDynamicArea(playerid, areaid)
  • OnPlayerGiveDamageDynamicActor(playerid, actorid, Float:amount, weaponid, bodypart)
  • OnDynamicActorStreamIn(actorid, forplayerid)
  • OnDynamicActorStreamOut(actorid, forplayerid)
  • Streamer_OnItemStreamIn(type, id)
  • Streamer_OnItemStreamOut(type, id)
  • Streamer_OnPluginError(error[])

Примечание

  • OnPlayerEnterDynamicArea и OnPlayerLeaveDynamicArea также вызываются, когда игрок не заспавнен (к примеру, находится в режиме слежения).
  • Streamer_OnItemStreamIn и Streamer_OnItemStreamOut должны быть включены функцией Streamer_ToggleItemCallbacks.
  • Streamer_OnPluginError должен быть включён с помощью Streamer_ToggleErrorCallback.