Skip to content

Commit 4b40f86

Browse files
committed
0.3z-R2-2
1 parent e3b9b7b commit 4b40f86

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

a_players.inc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SA-MP Player Functions
22
*
3-
* (c) Copyright 2005-2012, SA-MP Team
3+
* (c) Copyright 2005-2014, SA-MP Team
44
*
55
*/
66
@@ -260,4 +260,7 @@ native StartRecordingPlayerData(playerid, recordtype, recordname[]);
260260
native StopRecordingPlayerData(playerid);
261261
262262
native SelectTextDraw(playerid, hovercolor); // enables the mouse so the player can select a textdraw
263-
native CancelSelectTextDraw(playerid); // cancel textdraw selection with the mouse
263+
native CancelSelectTextDraw(playerid); // cancel textdraw selection with the mouse
264+
265+
// Explosion
266+
native CreateExplosionForPlayer(playerid, Float:X, Float:Y, Float:Z, type, Float:Radius);

a_samp.inc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SA-MP Functions
22
*
3-
* (c) Copyright 2005-2012, SA-MP Team
3+
* (c) Copyright 2005-2014, SA-MP Team
44
*
55
*/
66
@@ -58,7 +58,8 @@ native SendClientMessage(playerid, color, const message[]);
5858
native SendClientMessageToAll(color, const message[]);
5959
native SendPlayerMessageToPlayer(playerid, senderid, const message[]);
6060
native SendPlayerMessageToAll(senderid, const message[]);
61-
native SendDeathMessage(killer,killee,weapon);
61+
native SendDeathMessage(killer, killee, weapon);
62+
native SendDeathMessageToPlayer(playerid, killer, killee, weapon);
6263
native GameTextForAll(const string[],time,style);
6364
native GameTextForPlayer(playerid,const string[],time,style);
6465
native SetTimer(funcname[], interval, repeating);
@@ -121,6 +122,8 @@ native GetServerVarAsBool(const varname[]);
121122
native GetPlayerNetworkStats(playerid, retstr[], retstr_size);
122123
native GetNetworkStats(retstr[], retstr_size);
123124
native GetPlayerVersion(playerid, const version[], len); // Returns the SA-MP client revision as reported by the player
125+
native BlockIpAddress(ip_address[], timems);
126+
native UnBlockIpAddress(ip_address[]);
124127
125128
// Extended admin network stats
126129
native GetServerTickRate();
@@ -349,6 +352,7 @@ forward OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid, bodypart
349352
forward OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ);
350353
forward OnPlayerClickTextDraw(playerid, Text:clickedid);
351354
forward OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid);
355+
forward OnIncomingConnection(playerid, ip_address[], port);
352356
353357
#define CLICK_SOURCE_SCOREBOARD 0
354358
forward OnPlayerClickPlayer(playerid, clickedplayerid, source);

0 commit comments

Comments
 (0)