From 4b40f86abe933292c99777d2f7ea01585dd22626 Mon Sep 17 00:00:00 2001 From: Southclaw Date: Fri, 2 Feb 2018 21:32:00 +0000 Subject: [PATCH] 0.3z-R2-2 --- a_players.inc | 7 +++++-- a_samp.inc | 8 ++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/a_players.inc b/a_players.inc index 9ca0678..0696adc 100755 --- a/a_players.inc +++ b/a_players.inc @@ -1,6 +1,6 @@ /* SA-MP Player Functions * - * (c) Copyright 2005-2012, SA-MP Team + * (c) Copyright 2005-2014, SA-MP Team * */ @@ -260,4 +260,7 @@ native StartRecordingPlayerData(playerid, recordtype, recordname[]); native StopRecordingPlayerData(playerid); native SelectTextDraw(playerid, hovercolor); // enables the mouse so the player can select a textdraw -native CancelSelectTextDraw(playerid); // cancel textdraw selection with the mouse \ No newline at end of file +native CancelSelectTextDraw(playerid); // cancel textdraw selection with the mouse + +// Explosion +native CreateExplosionForPlayer(playerid, Float:X, Float:Y, Float:Z, type, Float:Radius); \ No newline at end of file diff --git a/a_samp.inc b/a_samp.inc index 1eaf48f..93f95ad 100755 --- a/a_samp.inc +++ b/a_samp.inc @@ -1,6 +1,6 @@ /* SA-MP Functions * - * (c) Copyright 2005-2012, SA-MP Team + * (c) Copyright 2005-2014, SA-MP Team * */ @@ -58,7 +58,8 @@ native SendClientMessage(playerid, color, const message[]); native SendClientMessageToAll(color, const message[]); native SendPlayerMessageToPlayer(playerid, senderid, const message[]); native SendPlayerMessageToAll(senderid, const message[]); -native SendDeathMessage(killer,killee,weapon); +native SendDeathMessage(killer, killee, weapon); +native SendDeathMessageToPlayer(playerid, killer, killee, weapon); native GameTextForAll(const string[],time,style); native GameTextForPlayer(playerid,const string[],time,style); native SetTimer(funcname[], interval, repeating); @@ -121,6 +122,8 @@ native GetServerVarAsBool(const varname[]); native GetPlayerNetworkStats(playerid, retstr[], retstr_size); native GetNetworkStats(retstr[], retstr_size); native GetPlayerVersion(playerid, const version[], len); // Returns the SA-MP client revision as reported by the player +native BlockIpAddress(ip_address[], timems); +native UnBlockIpAddress(ip_address[]); // Extended admin network stats native GetServerTickRate(); @@ -349,6 +352,7 @@ forward OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart forward OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ); forward OnPlayerClickTextDraw(playerid, Text:clickedid); forward OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid); +forward OnIncomingConnection(playerid, ip_address[], port); #define CLICK_SOURCE_SCOREBOARD 0 forward OnPlayerClickPlayer(playerid, clickedplayerid, source);