05.03.2016, 00:49
(
Последний раз редактировалось iLuXing; 05.03.2016 в 02:17.
Причина: Fixed for adding someting.
)
Hello guys, I just made a file that contain all hook of callbacks.
You can Ctrl+F and search what you need.
NOTICE: if you dont know how to use it, dont use it or learn it.
if you use it, you should edit it as a proper way.
some callbacks name you should rename it from over length.
and some callback should be usded depend on what you do.
OnActorStreamIn
OnActorStreamOut
OnDialogResponse
OnEnterExitModShop
OnFilterScriptInit
OnFilterScriptExit
OnGameModeInit
OnGameModeExit
OnIncomingConnection
OnObjectMoved
OnPlayerClickMap
OnPlayerClickPlayer
OnPlayerClickTextDraw
OnPlayerClickPlayerTextDraw
OnPlayerCommandText
OnPlayerConnect
OnPlayerDeath
OnPlayerDisconnect
OnPlayerEditAttachedObject
OnPlayerEditObject
OnPlayerEnterCheckpoint
OnPlayerEnterRaceCheckpoint
OnPlayerEnterVehicle
OnPlayerExitVehicle
OnPlayerExitedMenu
OnPlayerGiveDamage
OnPlayerGiveDamageActor
OnPlayerInteriorChange
OnPlayerKeyStateChange
OnPlayerLeaveCheckpoint
OnPlayerLeaveRaceCheckpoint
OnPlayerObjectMoved
OnPlayerPickUpPickup
OnPlayerRequestClass
OnPlayerRequestSpawn
OnPlayerSelectObject
OnPlayerSelectedMenuRow
OnPlayerSpawn
OnPlayerStateChange
OnPlayerStreamIn
OnPlayerStreamOut
OnPlayerTakeDamage
OnPlayerText
OnPlayerUpdate
OnPlayerWeaponShot
OnRconCommand
OnRconLoginAttempt
OnTrailerUpdate
OnUnoccupiedVehicleUpdate
OnVehicleDamageStatusUpdate
OnVehicleDeath
OnVehicleMod
OnVehiclePaintjob
OnVehicleRespray
OnVehicleSirenStateChange
OnVehicleSpawn
OnVehicleStreamIn
OnVehicleStreamOut
You can Ctrl+F and search what you need.
NOTICE: if you dont know how to use it, dont use it or learn it.
if you use it, you should edit it as a proper way.
some callbacks name you should rename it from over length.
and some callback should be usded depend on what you do.
OnActorStreamIn
Код:
public OnActorStreamIn(actorid, forplayerid) { #if defined mylib_OnActorStreamIn mylib_OnActorStreamIn(actorid, forplayerid); #endif } #if defined _ALS_OnActorStreamIn #undef OnActorStreamIn #else #define _ALS_OnActorStreamIn #endif #define OnActorStreamIn mylib_OnActorStreamIn #if defined mylib_OnActorStreamIn forward mylib_OnActorStreamIn(actorid, forplayerid); #endif
Код:
public OnActorStreamOut(actorid, forplayerid) { #if defined mylib_OnActorStreamOut mylib_OnActorStreamOut(actorid, forplayerid); #endif } #if defined _ALS_OnActorStreamOut #undef OnActorStreamOut #else #define _ALS_OnActorStreamOut #endif #define OnActorStreamOut mylib_OnActorStreamOut #if defined mylib_OnActorStreamOut forward mylib_OnActorStreamOut(actorid, forplayerid); #endif
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { #if defined mylib_OnDialogResponse mylib_OnDialogResponse(playerid, dialogid, response, listitem, inputtext); #else return 1; #endif } #if defined _ALS_OnDialogResponse #undef OnDialogResponse #else #define _ALS_OnDialogResponse #endif #define OnDialogResponse mylib_OnDialogResponse #if defined mylib_OnDialogResponse forward mylib_OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]); #endif
Код:
public OnEnterExitModShop(playerid, enterexit, interiorid) { #if defined mylib_OnEnterExitModShop mylib_OnEnterExitModShop(playerid, enterexit, interiorid); #endif } #if defined _ALS_OnEnterExitModShop #undef OnEnterExitModShop #else #define _ALS_OnEnterExitModShop #endif #define OnEnterExitModShop mylib_OnEnterExitModShop #if defined mylib_OnEnterExitModShop forward mylib_OnEnterExitModShop(playerid, enterexit, interiorid); #endif
Код:
public OnFilterScriptInit() { #if defined mylib_OnFilterScriptInit mylib_OnFilterScriptInit(); #endif } #if defined _ALS_OnFilterScriptInit #undef OnFilterScriptInit #else #define _ALS_OnFilterScriptInit #endif #define OnFilterScriptInit mylib_OnFilterScriptInit #if defined mylib_OnFilterScriptInit forward mylib_OnFilterScriptInit(); #endif
Код:
public OnFilterScriptExit() { #if defined mylib_OnFilterScriptExit mylib_OnFilterScriptExit(); #endif } #if defined _ALS_OnFilterScriptExit #undef OnFilterScriptExit #else #define _ALS_OnFilterScriptExit #endif #define OnFilterScriptExit mylib_OnFilterScriptExit #if defined mylib_OnFilterScriptExit forward mylib_OnFilterScriptExit(); #endif
Код:
public OnGameModeInit() { #if defined mylib_OnGameModeInit mylib_OnGameModeInit(); #endif } #if defined _ALS_OnGameModeInit #undef OnGameModeInit #else #define _ALS_OnGameModeInit #endif #define OnGameModeInit mylib_OnGameModeInit #if defined mylib_OnGameModeInit forward mylib_OnGameModeInit(); #endif
Код:
public OnGameModeExit() { #if defined mylib_OnGameModeExit mylib_OnGameModeExit(); #endif } #if defined _ALS_OnGameModeExit #undef #else #define _ALS_OnGameModeExit #endif #define OnGameModeExit mylib_OnGameModeExit #if defined mylib_OnGameModeExit forward mylib_OnGameModeExit(); #endif
Код:
public OnIncomingConnection(playerid, ip_address[], port) { #if defined mylib_OnIncomingConnection mylib_OnIncomingConnection(playerid, ip_address[], port); #endif } #if defined _ALS_OnIncomingConnection #undef OnIncomingConnection #else #define _ALS_OnIncomingConnection #endif #define OnIncomingConnection mylib_OnIncomingConnection #if defined mylib_OnIncomingConnection forward mylib_OnIncomingConnection(playerid, ip_address[], port); #endif
Код:
public OnObjectMoved(objectid) { #if defined mylib_OnObjectMoved mylib_OnObjectMoved(objectid); #endif } #if defined _ALS_OnObjectMoved #undef OnObjectMoved #else #define _ALS_OnObjectMoved #endif #define OnObjectMoved mylib_OnObjectMoved #if defined mylib_OnObjectMoved forward mylib_OnObjectMoved(objectid); #endif
Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ) { #if defined mylib_OnPlayerClickMap mylib_OnPlayerClickMap(playerid, fX, fY, fZ); #endif } #if defined _ALS_OnPlayerClickMap #undef OnPlayerClickMap #else #define _ALS_OnPlayerClickMap #endif #define OnPlayerClickMap mylib_OnPlayerClickMap #if defined mylib_OnPlayerClickMap forward mylib_OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ); #endif
Код:
public OnPlayerClickPlayer(playerid, clickedplayerid, source) { #if defined mylib_OnPlayerClickPlayer mylib_OnPlayerClickPlayer(playerid, clickedplayerid, source); #endif } #if defined _ALS_OnPlayerClickPlayer #undef OnPlayerClickPlayer #else #define _ALS_OnPlayerClickPlayer #endif #define OnPlayerClickPlayer mylib_OnPlayerClickPlayer #if defined mylib_OnPlayerClickPlayer forward mylib_OnPlayerClickPlayer(playerid, clickedplayerid, source); #endif
Код:
public OnPlayerClickTextDraw(playerid, Text:clickedid) { #if defined mylib_OnPlayerClickTextDraw mylib_OnPlayerClickTextDraw(playerid, clickedid); #else return 1; #endif } #if defined _ALS_OnPlayerClickTextDraw #undef OnPlayerClickTextDraw #else #define _ALS_OnPlayerClickTextDraw #endif #define OnPlayerClickTextDraw mylib_OnPlayerClickTextDraw #if defined mylib_OnPlayerClickTextDraw forward mylib_OnPlayerClickTextDraw(playerid, Text:clickedid); #endif
Код:
public OnPlayerClickPlayerTextDraw(playerid, Text:playertextid) { #if defined mylib_OnPlayerClickPlayerTextDraw mylib_OnPlayerClickPlayerTextDraw(playerid, playertextid); #else return 1; #endif } #if defined _ALS_OnPlayerClickPlayerTextDraw #undef OnPlayerClickPlayerTextDraw #else #define _ALS_OnPlayerClickPlayerTextDraw #endif #define OnPlayerClickPlayerTextDraw mylib_OnPlayerClickPlayerTextDraw #if defined mylib_OnPlayerClickPlayerTextDraw forward mylib_OnPlayerClickPlayerTextDraw(playerid, Text:playertextid); #endif
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { #if defined mylib_OnPlayerCommandText mylib_OnPlayerCommandText(playerid, cmdtext); #else return 1; #endif } #if defined _ALS_OnPlayerCommandText #undef OnPlayerCommandText #else #define _ALS_OnPlayerCommandText #endif #define OnPlayerCommandText mylib_OnPlayerCommandText #if defined mylib_OnPlayerCommandText forward mylib_OnPlayerCommandText(playerid, cmdtext[]); #endif
Код:
public OnPlayerConnect(playerid) { #if defined mylib_OnPlayerConnect mylib_OnPlayerConnect(playerid); #else return 1; #endif } #if defined _ALS_OnPlayerConnect #undef OnPlayerConnect #else #define _ALS_OnPlayerConnect #endif #define OnPlayerConnect mylib_OnPlayerConnect #if defined mylib_OnPlayerConnect forward mylib_OnPlayerConnect(playerid); #endif
Код:
public OnPlayerDeath(playerid) { #if defined mylib_OnPlayerDeath mylib_OnPlayerDeath(playerid); #endif } #if defined _ALS_OnPlayerDeath #undef OnPlayerDeath #else #define _ALS_OnPlayerDeath #endif #define OnPlayerDeath mylib_OnPlayerDeath #if defined mylib_OnPlayerDeath forward mylib_OnPlayerDeath(playerid); #endif
Код:
public OnPlayerDisconnect(playerid, reason) { #if defined mylib_OnPlayerDisconnect mylib_OnPlayerDisconnect(playerid, reason); #else return 1; #endif } #if defined _ALS_OnPlayerDisconnect #undef OnPlayerDisconnect #else #define _ALS_OnPlayerDisconnect #endif #define OnPlayerDisconnect mylib_OnPlayerDisconnect #if defined mylib_OnPlayerDisconnect forward mylib_OnPlayerDisconnect(playerid, reason); #endif
Код:
public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ ) { #if defined mylib_OnPlayerEditAttachedObject mylib_OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, fOffsetX, fOffsetY, fOffsetZ, fRotX, fRotY, fRotZ, fScaleX, fScaleY, fScaleZ); #endif } #if defined _ALS_OnPlayerEditAttachedObject #undef OnPlayerEditAttachedObject #else #define _ALS_OnPlayerEditAttachedObject #endif #define OnPlayerEditAttachedObject mylib_OnPlayerEditAttachedObject #if defined mylib_OnPlayerEditAttachedObject forward mylib_OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ ); #endif
Код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ ) { #if defined mylib_OnPlayerEditObject mylib_OnPlayerEditObject(playerid, playerobject, objectid, response, fX, fY, fZ, fRotX, fRotY, fRotZ); #endif } #if defined _ALS_OnPlayerEditObject #undef OnPlayerEditObject #else #define _ALS_OnPlayerEditObject #endif #define OnPlayerEditObject mylib_OnPlayerEditObject #if defined mylib_OnPlayerEditObject forward mylib_OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ ); #endif
Код:
public OnPlayerEnterCheckpoint(playerid) { #if defined mylib_OnPlayerEnterCheckpoint mylib_OnPlayerEnterCheckpoint(playerid); #endif } #if defined _ALS_OnPlayerEnterCheckpoint #undef OnPlayerEnterCheckpoint #else #define _ALS_OnPlayerEnterCheckpoint #endif #define OnPlayerEnterCheckpoint mylib_OnPlayerEnterCheckpoint #if defined mylib_OnPlayerEnterCheckpoint forward mylib_OnPlayerEnterCheckpoint(playerid); #endif
Код:
public OnPlayerEnterRaceCheckpoint(playerid) { #if defined mylib_OnPlayerEnterRaceCheckpoint mylib_OnPlayerEnterRaceCheckpoint(playerid); #endif } #if defined _ALS_OnPlayerEnterRaceCheckpoint #undef OnPlayerEnterRaceCheckpoint #else #define _ALS_OnPlayerEnterRaceCheckpoint #endif #define OnPlayerEnterRaceCheckpoint mylib_OnPlayerEnterRaceCheckpoint #if defined mylib_OnPlayerEnterRaceCheckpoint forward mylib_OnPlayerEnterRaceCheckpoint(playerid); #endif
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { #if defined mylib_OnPlayerEnterVehicle mylib_OnPlayerEnterVehicle(playerid, vehicleid, ispassenger); #endif } #if defined _ALS_OnPlayerEnterVehicle #undef OnPlayerEnterVehicle #else #define _ALS_OnPlayerEnterVehicle #endif #define OnPlayerEnterVehicle mylib_OnPlayerEnterVehicle #if defined mylib_OnPlayerEnterVehicle forward mylib_OnPlayerEnterVehicle(playerid, vehicleid, ispassenger); #endif
Код:
public OnPlayerExitVehicle(playerid, vehicleid) { #if defined mylib_OnPlayerExitVehicle mylib_OnPlayerExitVehicle(playerid, vehicleid); #endif } #if defined _ALS_OnPlayerExitVehicle #undef OnPlayerExitVehicle #else #define _ALS_OnPlayerExitVehicle #endif #define OnPlayerExitVehicle mylib_OnPlayerExitVehicle #if defined mylib_OnPlayerExitVehicle forward mylib_OnPlayerExitVehicle(playerid, vehicleid); #endif
Код:
public OnPlayerExitedMenu(playerid) { #if defined mylib_OnPlayerExitedMenu mylib_OnPlayerExitedMenu(playerid); #endif } #if defined _ALS_OnPlayerExitedMenu #undef OnPlayerExitedMenu #else #define _ALS_OnPlayerExitedMenu #endif #define OnPlayerExitedMenu mylib_OnPlayerExitedMenu #if defined mylib_OnPlayerExitedMenu forward mylib_OnPlayerExitedMenu(playerid); #endif
Код:
public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart) { #if defined mylib_OnPlayerGiveDamage mylib_OnPlayerGiveDamage(playerid, damagedid, amount, weaponid, bodypart); #endif } #if defined _ALS_OnPlayerGiveDamage #undef OnPlayerGiveDamage #else #define _ALS_OnPlayerGiveDamage #endif #define OnPlayerGiveDamage mylib_OnPlayerGiveDamage #if defined mylib_OnPlayerGiveDamage forward mylib_OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart); #endif
Код:
public OnPlayerGiveDamageActor(playerid, damaged_actorid, Float:amount, weaponid, bodypart) { #if defined mylib_OnPlayerGiveDamageActor mylib_OnPlayerGiveDamageActor(playerid, damaged_actorid, amount, weaponid, bodypart); #endif } #if defined _ALS_OnPlayerGiveDamageActor #undef OnPlayerGiveDamageActor #else #define _ALS_OnPlayerGiveDamageActor #endif #define OnPlayerGiveDamageActor mylib_OnPlayerGiveDamageActor #if defined mylib_OnPlayerGiveDamageActor forward mylib_OnPlayerGiveDamageActor(playerid, damaged_actorid, Float:amount, weaponid, bodypart); #endif
Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { #if defined mylib_OnPlayerInteriorChange mylib_OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid); #endif } #if defined _ALS_OnPlayerInteriorChange #undef OnPlayerInteriorChange #else #define _ALS_OnPlayerInteriorChange #endif #define OnPlayerInteriorChange mylib_OnPlayerInteriorChange #if defined mylib_OnPlayerInteriorChange forward mylib_OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid); #endif
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { #if defined mylib_OnPlayerKeyStateChange mylib_OnPlayerKeyStateChange(playerid, newkeys, oldkeys); #else return 1; #endif } #if defined _ALS_OnPlayerKeyStateChange #undef OnPlayerKeyStateChange #else #define _ALS_OnPlayerKeyStateChange #endif #define OnPlayerKeyStateChange mylib_OnPlayerKeyStateChange #if defined mylib_OnPlayerKeyStateChange forward mylib_OnPlayerKeyStateChange(playerid, newkeys, oldkeys); #endif
Код:
public OnPlayerLeaveCheckpoint(playerid) { #if defined mylib_OnPlayerLeaveCheckpoint mylib_OnPlayerLeaveCheckpoint(playerid); #endif } #if defined _ALS_OnPlayerLeaveCheckpoint #undef OnPlayerLeaveCheckpoint #else #define _ALS_OnPlayerLeaveCheckpoint #endif #define OnPlayerLeaveCheckpoint mylib_OnPlayerLeaveCheckpoint #if defined mylib_OnPlayerLeaveCheckpoint forward mylib_OnPlayerLeaveCheckpoint(playerid); #endif
Код:
public OnPlayerLeaveRaceCheckpoint(playerid) { #if defined mylib_OnPlayerLeaveRaceCheckpoint mylib_OnPlayerLeaveRaceCheckpoint(playerid); #endif } #if defined _ALS_OnPlayerLeaveRaceCheckpoint #undef OnPlayerLeaveRaceCheckpoint #else #define _ALS_OnPlayerLeaveRaceCheckpoint #endif #define OnPlayerLeaveRaceCheckpoint mylib_OnPlayerLeaveRaceCheckpoint #if defined mylib_OnPlayerLeaveRaceCheckpoint forward mylib_OnPlayerLeaveRaceCheckpoint(playerid); #endif
Код:
public OnPlayerObjectMoved(playerid, objectid) { #if defined mylib_OnPlayerObjectMoved mylib_OnPlayerObjectMoved(playerid, objectid); #endif } #if defined _ALS_OnPlayerObjectMoved #undef OnPlayerObjectMoved #else #define _ALS_OnPlayerObjectMoved #endif #define OnPlayerObjectMoved mylib_OnPlayerObjectMoved #if defined mylib_OnPlayerObjectMoved forward mylib_OnPlayerObjectMoved(playerid, objectid); #endif
Код:
public OnPlayerPickUpPickup(playerid, pickupid) { #if defined mylib_ mylib_OnPlayerPickUpPickup(playerid, pickupid); #endif } #if defined _ALS_OnPlayerPickUpPickup #undef OnPlayerPickUpPickup #else #define _ALS_OnPlayerPickUpPickup #endif #define OnPlayerPickUpPickup mylib_OnPlayerPickUpPickup #if defined mylib_OnPlayerPickUpPickup forward mylib_OnPlayerPickUpPickup(playerid, pickupid); #endif
Код:
public OnPlayerRequestClass(playerid, classid) { #if defined mylib_OnPlayerRequestClass mylib_OnPlayerRequestClass(playerid, classid); #else return 1; #endif } #if defined _ALS_OnPlayerRequestClass #undef OnPlayerRequestClass #else #define _ALS_OnPlayerRequestClass #endif #define OnPlayerRequestClass mylib_OnPlayerRequestClass #if defined mylib_OnPlayerRequestClass forward mylib_OnPlayerRequestClass(playerid, classid); #endif
Код:
public OnPlayerRequestSpawn(playerid) { #if defined mylib_OnPlayerRequestSpawn mylib_OnPlayerRequestSpawn(playerid); #else return 1; #endif } #if defined _ALS_OnPlayerRequestSpawn #undef OnPlayerRequestSpawn #else #define _ALS_OnPlayerRequestSpawn #endif #define OnPlayerRequestSpawn mylib_OnPlayerRequestSpawn #if defined mylib_OnPlayerRequestSpawn forward mylib_OnPlayerRequestSpawn(playerid); #endif
Код:
public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ) { #if defined mylib_OnPlayerSelectObject mylib_OnPlayerSelectObject(playerid, type, objectid, modelid, fX, fY, fZ); #endif } #if defined _ALS_OnPlayerSelectObject #undef OnPlayerSelectObject #else #define _ALS_OnPlayerSelectObject #endif #define OnPlayerSelectObject mylib_OnPlayerSelectObject #if defined mylib_OnPlayerSelectObject forward mylib_OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ); #endif
Код:
public OnPlayerSelectedMenuRow(playerid, row) { #if defined mylib_OnPlayerSelectedMenuRow mylib_OnPlayerSelectedMenuRow(playerid, row); #endif } #if defined _ALS_OnPlayerSelectedMenuRow #undef OnPlayerSelectedMenuRow #else #define _ALS_OnPlayerSelectedMenuRow #endif #define OnPlayerSelectedMenuRow mylib_OnPlayerSelectedMenuRow #if defined mylib_OnPlayerSelectedMenuRow forward mylib_OnPlayerSelectedMenuRow(playerid, row); #endif
Код:
public OnPlayerSpawn(playerid) { #if defined mylib_OnPlayerSpawn mylib_OnPlayerSpawn(playerid); #else return 1; #endif } #if defined _ALS_OnPlayerSpawn #undef OnPlayerSpawn #else #define _ALS_OnPlayerSpawn #endif #define OnPlayerSpawn mylib_OnPlayerSpawn #if defined mylib_OnPlayerSpawn forward mylib_OnPlayerSpawn(playerid); #endif
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { #if defined mylib_OnPlayerStateChange mylib_OnPlayerStateChange(playerid, newstate, oldstate); #endif } #if defined _ALS_OnPlayerStateChange #undef OnPlayerStateChange #else #define _ALS_OnPlayerStateChange #endif #define OnPlayerStateChange mylib_OnPlayerStateChange #if defined mylib_OnPlayerStateChange forward mylib_OnPlayerStateChange(playerid, newstate, oldstate); #endif
Код:
public OnPlayerStreamIn(playerid) { #if defined mylib_OnPlayerStreamIn mylib_OnPlayerStreamIn(playerid); #endif } #if defined _ALS_OnPlayerStreamIn #undef OnPlayerStreamIn #else #define _ALS_OnPlayerStreamIn #endif #define OnPlayerStreamIn mylib_OnPlayerStreamIn #if defined mylib_OnPlayerStreamIn forward mylib_OnPlayerStreamIn(playerid); #endif
Код:
public OnPlayerStreamOut(playerid) { #if defined mylib_OnPlayerStreamOut mylib_OnPlayerStreamOut(playerid); #endif } #if defined _ALS_OnPlayerStreamOut #undef OnPlayerStreamOut #else #define _ALS_OnPlayerStreamOut #endif #define OnPlayerStreamOut mylib_OnPlayerStreamOut #if defined mylib_OnPlayerStreamOut forward mylib_OnPlayerStreamOut(playerid); #endif
Код:
public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart) { #if defined mylib_OnPlayerTakeDamage mylib_OnPlayerTakeDamage(playerid, issuerid, amount, weaponid, bodypart); #else return 1; #endif } #if defined _ALS_OnPlayerTakeDamage #undef OnPlayerTakeDamage #else #define _ALS_OnPlayerTakeDamage #endif #define OnPlayerTakeDamage mylib_OnPlayerTakeDamage #if defined mylib_OnPlayerTakeDamage forward mylib_OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart); #endif
Код:
public OnPlayerText(playerid, text[]) { #if defined mylib_OnPlayerText mylib_OnPlayerText(playerid, text); #else return 1; #endif } #if defined _ALS_OnPlayerText #undef OnPlayerText #else #define _ALS_OnPlayerText #endif #define OnPlayerText mylib_OnPlayerText #if defined mylib_OnPlayerText forward mylib_OnPlayerText(playerid, text[]); #endif
Код:
public OnPlayerUpdate(playerid) { #if defined mylib_OnPlayerUpdate mylib_OnPlayerUpdate(playerid); #else return 1; #endif } #if defined _ALS_OnPlayerUpdate #undef OnPlayerUpdate #else #define _ALS_OnPlayerUpdate #endif #define OnPlayerUpdate mylib_OnPlayerUpdate #if defined mylib_OnPlayerUpdate forward mylib_OnPlayerUpdate(playerid); #endif
Код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) { #if defined mylib_OnPlayerWeaponShot mylib_OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, fX, fY, fZ); #else return 1; #endif } #if defined _ALS_OnPlayerWeaponShot #undef OnPlayerWeaponShot #else #define _ALS_OnPlayerWeaponShot #endif #define OnPlayerWeaponShot mylib_OnPlayerWeaponShot #if defined mylib_OnPlayerWeaponShot forward mylib_OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ); #endif
Код:
public OnRconCommand(cmd[]) { #if defined mylib_OnRconCommand mylib_OnRconCommand(cmd); #else return 1; #endif } #if defined _ALS_OnRconCommand #undef OnRconCommand #else #define _ALS_OnRconCommand #endif #define OnRconCommand mylib_OnRconCommand #if defined mylib_OnRconCommand forward mylib_OnRconCommand(cmd[]); #endif
Код:
public OnRconLoginAttempt(ip[], password[], success) { #if defined mylib_OnRconLoginAttempt mylib_OnRconLoginAttempt(ip[], password, success); #endif } #if defined _ALS_OnRconLoginAttempt #undef OnRconLoginAttempt #else #define _ALS_OnRconLoginAttempt #endif #define OnRconLoginAttempt mylib_OnRconLoginAttempt #if defined mylib_OnRconLoginAttempt forward mylib_OnRconLoginAttempt(ip[], password[], success); #endif
Код:
public OnTrailerUpdate(playerid, vehicleid) { #if defined mylib_OnTrailerUpdate mylib_OnTrailerUpdate(playerid, vehicleid); #else return 1; #endif } #if defined _ALS_OnTrailerUpdate #undef OnTrailerUpdate #else #define _ALS_OnTrailerUpdate #endif #define OnTrailerUpdate mylib_OnTrailerUpdate #if defined mylib_OnTrailerUpdate forward mylib_OnTrailerUpdate(playerid, vehicleid); #endif
Код:
public OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z) { #if defined mylib_OnUnoccupiedVehicleUpdate mylib_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, new_x, new_y, new_z, vel_x, vel_y, vel_z); #else return 1; #endif } #if defined _ALS_OnUnoccupiedVehicleUpdate #undef OnUnoccupiedVehicleUpdate #else #define _ALS_OnUnoccupiedVehicleUpdate #endif #define OnUnoccupiedVehicleUpdate mylib_OnUnoccupiedVehicleUpdate #if defined mylib_OnUnoccupiedVehicleUpdate forward mylib_OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z); #endif
Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid) { #if defined mylib_OnVehicleDamageStatusUpdate mylib_OnVehicleDamageStatusUpdate(vehicleid, playerid); #endif } #if defined _ALS_OnVehicleDamageStatusUpdate #undef OnVehicleDamageStatusUpdate #else #define _ALS_OnVehicleDamageStatusUpdate #endif #define OnVehicleDamageStatusUpdate mylib_OnVehicleDamageStatusUpdate #if defined mylib_OnVehicleDamageStatusUpdate forward mylib_OnVehicleDamageStatusUpdate(vehicleid, playerid); #endif
Код:
public OnVehicleDeath(vehicleid, killerid) { #if defined mylib_OnVehicleDeath mylib_OnVehicleDeath(vehicleid, killerid); #endif } #if defined _ALS_OnVehicleDeath #undef OnVehicleDeath #else #define _ALS_OnVehicleDeath #endif #define OnVehicleDeath mylib_OnVehicleDeath #if defined mylib_OnVehicleDeath forward mylib_OnVehicleDeath(vehicleid, killerid); #endif
Код:
public OnVehicleMod(playerid, vehicleid, componentid) { #if defined mylib_OnVehicleMod mylib_OnVehicleMod(playerid, vehicleid, componentid); #else return 1; #endif } #if defined _ALS_OnVehicleMod #undef OnVehicleMod #else #define _ALS_OnVehicleMod #endif #define OnVehicleMod mylib_OnVehicleMod #if defined mylib_OnVehicleMod forward mylib_OnVehicleMod(playerid, vehicleid, componentid); #endif
Код:
public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { #if defined mylib_OnVehiclePaintjob mylib_OnVehiclePaintjob(playerid, vehicleid, paintjobid); #else return 1; #endif } #if defined _ALS_OnVehiclePaintjob #undef OnVehiclePaintjob #else #define _ALS_OnVehiclePaintjob #endif #define OnVehiclePaintjob mylib_OnVehiclePaintjob #if defined mylib_OnVehiclePaintjob forward mylib_OnVehiclePaintjob(playerid, vehicleid, paintjobid); #endif
Код:
public OnVehicleRespray(playerid, vehicleid, color1, color2) { #if defined mylib_OnVehicleRespray mylib_OnVehicleRespray(playerid, vehicleid, color1, color2); #else return 1; #endif } #if defined _ALS_OnVehicleRespray #undef OnVehicleRespray #else #define _ALS_OnVehicleRespray #endif #define OnVehicleRespray mylib_OnVehicleRespray #if defined mylib_OnVehicleRespray forward mylib_OnVehicleRespray(playerid, vehicleid, color1, color2); #endif
Код:
public OnVehicleSirenStateChange(playerid, vehicleid, newstate) { #if defined mylib_OnVehicleSirenStateChange mylib_OnVehicleSirenStateChange(playerid, vehicleid, newstate); #endif } #if defined _ALS_OnVehicleSirenStateChange #undef OnVehicleSirenStateChange #else #define _ALS_OnVehicleSirenStateChange #endif #define OnVehicleSirenStateChange mylib_OnVehicleSirenStateChange #if defined mylib_OnVehicleSirenStateChange forward mylib_OnVehicleSirenStateChange(playerid, vehicleid, newstate); #endif
Код:
public OnVehicleSpawn(vehicleid) { #if defined mylib_OnVehicleSpawn mylib_OnVehicleSpawn(vehicleid); #endif } #if defined _ALS_OnVehicleSpawn #undef OnVehicleSpawn #else #define _ALS_OnVehicleSpawn #endif #define OnVehicleSpawn mylib_OnVehicleSpawn #if defined mylib_OnVehicleSpawn forward mylib_OnVehicleSpawn(vehicleid); #endif
Код:
public OnVehicleStreamIn(vehicleid) { #if defined mylib_OnVehicleStreamIn mylib_OnVehicleStreamIn(vehicleid); #endif } #if defined _ALS_OnVehicleStreamIn #undef OnVehicleStreamIn #else #define _ALS_OnVehicleStreamIn #endif #define OnVehicleStreamIn mylib_OnVehicleStreamIn #if defined mylib_OnVehicleStreamIn forward mylib_OnVehicleStreamIn(vehicleid); #endif
Код:
public OnVehicleStreamOut(vehicleid) { #if defined mylib_OnVehicleStreamOut mylib_OnVehicleStreamOut(vehicleid); #endif } #if defined _ALS_OnVehicleStreamOut #undef OnVehicleStreamOut #else #define _ALS_OnVehicleStreamOut #endif #define OnVehicleStreamOut mylib_OnVehicleStreamOut #if defined mylib_OnVehicleStreamOut forward mylib_OnVehicleStreamOut(vehicleid); #endif