25.04.2015, 15:33

(

*Последний раз редактировалось J4Rr3x; 10.02.2018 в 20:47.*)

**What is this?**This is an updated version of new.pwn. I've added all callbacks from 0.3a to 0.3.7

**What's new?**Callbacks added:

pawn Код:

OnEnterExitModShop(playerid, enterexit, interiorid)

OnVehicleDamageStatusUpdate(vehicleid, playerid)

OnUnoccupiedVehicleUpdate(vehicleid, playerid, passenger_seat, Float:new_x, Float:new_y, Float:new_z, Float:vel_x, Float:vel_y, Float:vel_z)

OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)

OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)

OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid, bodypart)

OnPlayerClickTextDraw(playerid, Text:clickedid)

OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ)

OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)

OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ)

OnIncomingConnection(playerid, ip_address[], port)

OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)

OnTrailerUpdate(playerid, vehicleid)

OnVehicleSirenStateChange(playerid, vehicleid, newstate)

OnActorStreamIn(actorid, forplayerid)

OnActorStreamOut(actorid, forplayerid)

pawn Код:

IsValidVehicle(playerid);

**Download:****BitBucket Download Page**

*Whenever Kalcor update SAMP, I'm going to add all possible callbacks.*