-
Notifications
You must be signed in to change notification settings - Fork 93
Callbacks RU
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.
- 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)
-
Streamer_OnItemStreamOut
(type, id)
-
Streamer_OnPluginError
(error[])
-
OnPlayerEnterDynamicArea
иOnPlayerLeaveDynamicArea
также вызываются, когда игрок не заспавнен (к примеру, находится в режиме слежения). -
Streamer_OnItemStreamIn
иStreamer_OnItemStreamOut
должны быть включены функциейStreamer_ToggleItemCallbacks
. -
Streamer_OnPluginError
должен быть включён с помощьюStreamer_ToggleErrorCallback
.