(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fforum.sa-mp.com%2Fimages%2Fsamp%2Flogo_forum.gif&hash=f274bbd10cedd637e45a412e8762096d6974d5d3)
SA-MP 0.3x RC
A new version of SA-MP (0.3x) is on its way. We're making an RC/beta available to server scripters so you can preview the new features before release. If you've been following SA-MP releases for a while, you'll know that the (x) version means this will likely be the final release in the current (0.3) branch.
Model previews:
A new 'TextDraw' font ID has been added that allows you to create 2D previews of models in the game. Servers can specify the rotation and zoom of a preview.
TextDrawFont(playerid, txtSprite, TEXT_DRAW_FONT_MODEL_PREVIEW);
native TextDrawSetPreviewModel(Text:text, modelindex);
native TextDrawSetPreviewRot(Text:text, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fZoom = 1.0);
Some examples of selection menus that could be created with model previews:
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fwww.sa-mp.com%2Fstuff%2F03xShots%2Fpmenu_s.png&hash=119edc24bac25f14c186634982fde81e762bcbf0) (http://www.sa-mp.com/stuff/03xShots/pmenu.png) (https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fwww.sa-mp.com%2Fstuff%2F03xShots%2Fvmenu_s.png&hash=5fce79329454e2818a7cbd3029fb83900b524aa7) (http://www.sa-mp.com/stuff/03xShots/vmenu.png)
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fwww.sa-mp.com%2Fstuff%2F03xShots%2Fomenu_s.png&hash=fb2442179613ccd64c06eb6233084028c2bca3d3) (http://www.sa-mp.com/stuff/03xShots/omenu.png) (https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fwww.sa-mp.com%2Fstuff%2F03xShots%2Fomenu2_s.png&hash=3e89f3d40e826af2f744fea16eea7a94f4566cb7) (http://www.sa-mp.com/stuff/03xShots/omenu2.png)
Example scripts for the above are included with the Windows server.
Extended draw distance for objects:
You can now set the draw distance on objects to any distance. This will allow for more seamless object streaming in custom areas.
(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fwww.sa-mp.com%2Fstuff%2F03xShots%2Fddist2_s.png&hash=6f842fd14745192268785f54114294b344556877) (http://www.sa-mp.com/stuff/03xShots/ddist2.png)
Credit to Deadspirrit (http://forum.sa-mp.com/member.php?u=152808) for the above island.
Note: The above feature is still experimental. If you have problems with certain objects using a large draw distance, it's recommended you lower the draw distance of the effected objects.
Fixes:
0.3x contains some important netcode changes, including general security updates that address potential Denial of Service attacks against servers.
- A low-level netcode problem has been addressed that will lower the number of packets that need to be sent from the client and server.
- The potential for a player to send a 0-length command has been addressed.
- Limitations have been placed on the player's ability to query server information like the scoreboard data.
- %x in format() will no longer interpret large integers as being signed.
Downloads:
SA-MP 0.3x RC1 Client Installer (http://www.sa-mp.com/stuff/03xRC/sa-mp-0.3x-RC1-install.exe)
SA-MP 0.3x RC1 Windows Server (http://www.sa-mp.com/stuff/03xRC/samp03x_svr_RC1_win32.zip)
SA-MP 0.3x RC1 Linux Server (http://www.sa-mp.com/stuff/03xRC/samp03xsvr_RC1.tar.gz)