Skip to content

Commit

Permalink
0.3.DL-R1
Browse files Browse the repository at this point in the history
  • Loading branch information
Southclaws committed Mar 18, 2018
1 parent 930166f commit c8c0cdc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
3 changes: 2 additions & 1 deletion a_players.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SA-MP Player Functions
*
* (c) Copyright 2005-2015, SA-MP Team
* (c) Copyright 2005-2017, SA-MP Team
*
*/
Expand Down Expand Up @@ -89,6 +89,7 @@ native SetPlayerColor(playerid,color);
native GetPlayerColor(playerid);
native SetPlayerSkin(playerid, skinid);
native GetPlayerSkin(playerid);
native GetPlayerCustomSkin(playerid);
native GivePlayerWeapon(playerid, weaponid, ammo);
native ResetPlayerWeapons(playerid);
native SetPlayerArmedWeapon(playerid, weaponid);
Expand Down
20 changes: 17 additions & 3 deletions a_samp.inc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* SA-MP Functions
*
* (c) Copyright 2005-2015, SA-MP Team
* (c) Copyright 2005-2017, SA-MP Team
*
*/
Expand Down Expand Up @@ -35,7 +35,7 @@
#define INVALID_VEHICLE_ID (0xFFFF)
#define INVALID_ACTOR_ID (0xFFFF)
#define NO_TEAM (255)
#define MAX_OBJECTS (1000)
#define MAX_OBJECTS (2000)
#define INVALID_OBJECT_ID (0xFFFF)
#define MAX_GANG_ZONES (1024)
#define MAX_TEXT_DRAWS (2048)
Expand Down Expand Up @@ -127,7 +127,7 @@ native AllowAdminTeleport(allow);
native SetDeathDropAmount(amount);
native CreateExplosion(Float:X, Float:Y, Float:Z, type, Float:Radius);
native EnableZoneNames(enable);
native UsePlayerPedAnims(); // Will cause the players to use CJ running/walking animations
native UsePlayerPedAnims(); // Will cause the players to use CJ running/walking animations
native DisableInteriorEnterExits(); // will disable all interior enter/exits in the game.
native SetNameTagDrawDistance(Float:distance); // Distance at which nametags will start rendering on the client.
native DisableNameTagLOS(); // Disables the nametag Line-Of-Sight checking
Expand All @@ -138,6 +138,18 @@ native LimitPlayerMarkerRadius(Float:marker_radius);
native ConnectNPC(name[], script[]);
native IsPlayerNPC(playerid);
// Artwork/NetModels
#define DOWNLOAD_REQUEST_EMPTY 0
#define DOWNLOAD_REQUEST_MODEL_FILE 1
#define DOWNLOAD_REQUEST_TEXTURE_FILE 2
native AddCharModel(baseid, newid, dffname[], txdname[]);
native AddSimpleModel(virtualworld, baseid, newid, dffname[], txdname[]);
native AddSimpleModelTimed(virtualworld, baseid, newid, dffname[], txdname[], timeon, timeoff);
native FindModelFileNameFromCRC(crc, retstr[], retstr_size);
native FindTextureFileNameFromCRC(crc, retstr[], retstr_size);
native RedirectDownload(playerid, url[]);
// Admin
native IsPlayerAdmin(playerid);
native Kick(playerid);
Expand Down Expand Up @@ -394,6 +406,8 @@ forward OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid);
forward OnIncomingConnection(playerid, ip_address[], port);
forward OnTrailerUpdate(playerid, vehicleid);
forward OnVehicleSirenStateChange(playerid, vehicleid, newstate);
forward OnPlayerFinishedDownloading(playerid, virtualworld);
forward OnPlayerRequestDownload(playerid, type, crc);
#define CLICK_SOURCE_SCOREBOARD 0
forward OnPlayerClickPlayer(playerid, clickedplayerid, source);
Expand Down

0 comments on commit c8c0cdc

Please sign in to comment.