Skip to content

Commit c8c0cdc

Browse files
committed
0.3.DL-R1
1 parent 930166f commit c8c0cdc

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

a_players.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SA-MP Player Functions
22
*
3-
* (c) Copyright 2005-2015, SA-MP Team
3+
* (c) Copyright 2005-2017, SA-MP Team
44
*
55
*/
66
@@ -89,6 +89,7 @@ native SetPlayerColor(playerid,color);
8989
native GetPlayerColor(playerid);
9090
native SetPlayerSkin(playerid, skinid);
9191
native GetPlayerSkin(playerid);
92+
native GetPlayerCustomSkin(playerid);
9293
native GivePlayerWeapon(playerid, weaponid, ammo);
9394
native ResetPlayerWeapons(playerid);
9495
native SetPlayerArmedWeapon(playerid, weaponid);

a_samp.inc

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SA-MP Functions
22
*
3-
* (c) Copyright 2005-2015, SA-MP Team
3+
* (c) Copyright 2005-2017, SA-MP Team
44
*
55
*/
66
@@ -35,7 +35,7 @@
3535
#define INVALID_VEHICLE_ID (0xFFFF)
3636
#define INVALID_ACTOR_ID (0xFFFF)
3737
#define NO_TEAM (255)
38-
#define MAX_OBJECTS (1000)
38+
#define MAX_OBJECTS (2000)
3939
#define INVALID_OBJECT_ID (0xFFFF)
4040
#define MAX_GANG_ZONES (1024)
4141
#define MAX_TEXT_DRAWS (2048)
@@ -127,7 +127,7 @@ native AllowAdminTeleport(allow);
127127
native SetDeathDropAmount(amount);
128128
native CreateExplosion(Float:X, Float:Y, Float:Z, type, Float:Radius);
129129
native EnableZoneNames(enable);
130-
native UsePlayerPedAnims(); // Will cause the players to use CJ running/walking animations
130+
native UsePlayerPedAnims(); // Will cause the players to use CJ running/walking animations
131131
native DisableInteriorEnterExits(); // will disable all interior enter/exits in the game.
132132
native SetNameTagDrawDistance(Float:distance); // Distance at which nametags will start rendering on the client.
133133
native DisableNameTagLOS(); // Disables the nametag Line-Of-Sight checking
@@ -138,6 +138,18 @@ native LimitPlayerMarkerRadius(Float:marker_radius);
138138
native ConnectNPC(name[], script[]);
139139
native IsPlayerNPC(playerid);
140140
141+
// Artwork/NetModels
142+
#define DOWNLOAD_REQUEST_EMPTY 0
143+
#define DOWNLOAD_REQUEST_MODEL_FILE 1
144+
#define DOWNLOAD_REQUEST_TEXTURE_FILE 2
145+
146+
native AddCharModel(baseid, newid, dffname[], txdname[]);
147+
native AddSimpleModel(virtualworld, baseid, newid, dffname[], txdname[]);
148+
native AddSimpleModelTimed(virtualworld, baseid, newid, dffname[], txdname[], timeon, timeoff);
149+
native FindModelFileNameFromCRC(crc, retstr[], retstr_size);
150+
native FindTextureFileNameFromCRC(crc, retstr[], retstr_size);
151+
native RedirectDownload(playerid, url[]);
152+
141153
// Admin
142154
native IsPlayerAdmin(playerid);
143155
native Kick(playerid);
@@ -394,6 +406,8 @@ forward OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid);
394406
forward OnIncomingConnection(playerid, ip_address[], port);
395407
forward OnTrailerUpdate(playerid, vehicleid);
396408
forward OnVehicleSirenStateChange(playerid, vehicleid, newstate);
409+
forward OnPlayerFinishedDownloading(playerid, virtualworld);
410+
forward OnPlayerRequestDownload(playerid, type, crc);
397411
398412
#define CLICK_SOURCE_SCOREBOARD 0
399413
forward OnPlayerClickPlayer(playerid, clickedplayerid, source);

0 commit comments

Comments
 (0)