16.03.2015, 10:31
Added two more callbacks:
And a function for one of the two new callbacks:
Now there are 23 callbacks in total!
I did some benchmarks while running this include on a public server with only 2 callbacks being used. There was barely any lag. So you shouldn't worry about that.
pawn Код:
// Called when a player uses a camera to take a picture.
public OnPlayerUseCamera(playerid);
// Called when a player sprays at a vehicle with a spraycan.
public OnPlayerSprayAtVehicle(playerid, vehicleid);
pawn Код:
stock IsPlayerSprayingVehicle(playerid, vehicleid);
I did some benchmarks while running this include on a public server with only 2 callbacks being used. There was barely any lag. So you shouldn't worry about that.