(https://littlewhiteys.com/proxy.php?request=http%3A%2F%2Fforum.sa-mp.com%2Fimages%2Fsamp%2Flogo_forum.gif&hash=14fd69da17a1076895c63c13e4f5b8eb8bdf4e43)
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=fd46033e840a70922c25ed5755865f1c1faf0ebf) (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=2de7101478152a511fd96258e34eeee3c98d1de3) (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=e494aa80887ff80bddd5e771648d83fccea12d1d) (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=7f04ddece1fe258003f8adee91b04686a8dea0f9) (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=d7918836387e0b521dd69b714495007d4e2c2a28) (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)