03.02.2014, 04:07
Код:
Updates: - Fixed a problem with IsPlayerPaused (thanks to Optimus_Sprite). - Added additional checks to only execute code if the callback exists. - The system now uses bit flags for optimal performance. - Fixed a few more bugs and glitches.
pawn Код:
public OnPlayerCarJack(playerid, targetid, vehicleid)
{
return 1;
}
I've also added additional checking that will only execute certain code if the callback for it exists. For instance, if "OnPlayerCrashVehicle" isn't used in the current script, the system won't detect or try to call it. This should boost up performance for most systems.
