-
Notifications
You must be signed in to change notification settings - Fork 93
Callbacks
samp-incognito edited this page Apr 13, 2021
·
19 revisions
Home ▸ Callbacks
-
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.
- If a return value of
-
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[])
-
OnPlayerEnterDynamicArea
andOnPlayerLeaveDynamicArea
are also called when the player is not spawned (example: spectating). -
Streamer_OnItemStreamIn
andStreamer_OnItemStreamOut
must be enabled usingStreamer_ToggleItemCallbacks
. -
Streamer_OnPluginError
must be enabled usingStreamer_ToggleErrorCallback
.