Skip to content
samp-incognito edited this page Apr 13, 2021 · 19 revisions

HomeCallbacks

  • 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, forplayerid)
  • Streamer_OnItemStreamOut(type, id, forplayerid)
  • Streamer_OnPluginError(const error[])

Notes

  • OnPlayerEnterDynamicArea and OnPlayerLeaveDynamicArea are also called when the player is not spawned (example: spectating).
  • Streamer_OnItemStreamIn and Streamer_OnItemStreamOut must be enabled using Streamer_ToggleItemCallbacks.
  • Streamer_OnPluginError must be enabled using Streamer_ToggleErrorCallback.