08.06.2013, 10:41
(
Последний раз редактировалось RayW; 09.06.2013 в 19:45.
)
are lots of people I need to thank here.
Credits
- Emmet (His Kick/Ban Timing include, and helping with my RangeBan, ecmd, Per-Player Pickup)
- Swyft - The include
New Functions
pawn Код:
GetPlayerInfractions(playerid); // This will get the players Infractions.
CreatePlayerPickup(playerid, model, type, Float:x, Float:y, Float:z);
DestroyPlayerPickup(playerid, pickupid);
GetPlayerPickupPos(playerid, pickupid, &Float:x, &Float:y, &Float:z);
GetPlayerPickupModel(playerid, pickupid);
IsValidPlayerPickup(playerid, pickupid);
pawn Код:
OnCharacterUpdate(playerid) // A more improved version of OnPlayerUpdate, uses less CPU
OnServerUpdate(playerid) // Not much use towards it yet, but could be used for security reasons.
OnPlayerPickUp(playerid, pickupid) // Per-Player Pickups, very useful!
OnPlayerEnterSeat(playerid, vehicleid, seatid) // When someone enters the vehicle a message displays... Not the same as OnPlayerEnterVehicle
pawn Код:
// Kick(playerid), Ban(playerid) and BanEx(playerid) are fixed, it caused some delay issues.. We are also going to introduce a NEW one for you all :)
RBanEx(playerid, "Ban String here"); // This will range ban a player (tested, thanks to Emmet)
// AntiDeAMX, No need to put AntiDeAMX(); under any of your callbacks, it is already being called in our include :)
// Emmet's Command Processor [Faster then ZCMD]
Well, I just want to point out now, that when you put this #include in your script, you do not need #include <a_samp
pawn Код:
#include <s_samp>
// Your other includes here, no need for a_samp
SA-MP Default Filterscript, with the Swyft Functions included