News:

Server address: server.convoytrucking.net
Get SA-MP 0.3.7 here: Click Here to download SA-MP 0.3.7

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Raz3r

#2
GTA & SA-MP / SA:MP 0.3d RC 1
September 12, 2011, 21:18
SAMP 0.3d RC

Here is whole text

Quote from: Kalcor;1399107

SA-MP 0.3d RC

Changes for SA-MP 0.3d:

- Support for Shoutcast/Icecast internet radio
- All misson sounds (IDs greater than 2000) from GTA:SA single player can now be used with PlayerPlaySound
- RemoveBuildingForPlayer can be used to remove any building or object from the game
- Fixed issue with radar jumping up and down while passengering in a vehicle
- Fixed quite a few issues with the vehicle sync which might cause vehicles to warp or to appear to be moving sideways
- Fixed problems with the motorbike/pushbike sync
- Fixed surfing on train carriages
- MAX_OBJECTS has been increased to 1000
- MAX_PICKUPS has been increased to 4096
- The frame limiter will now default to 50 fps
- Fixed some small issues with the vehicle exiting animation
- Fixed game crashes related to escalators
- Server has a feature to monitor internal frame rate in the network stats string
- Fixed an issue where you might respawn on top of the last vehicle you were surfing
- Removed the PED FACTALK animation from showing up in GetPlayerAnimationIndex
- Fixed the collision on the elevator model which would allow you to jump out while it was moving down


native PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0);
native StopAudioStreamForPlayer(playerid);


PlayAudioStreamForPlayer is used so that the player can hear a shoutcast or icecast audio stream. Formats supported are ogg/vorbis streams and MP3 streams. The audio can either by played in the background like the normal San Andreas radio, or it can be played at a particular position, and heard over a certain distance, when 'usepos' is set to 1.

The volume of the audio stream playback is controlled by the player using their San Andreas radio volume. If their San Andreas radio volume is set to 0 they will not play any audio stream sent by the server.

Under most circumstances, audio streaming should just work. If the player requires a proxy to access the web, the SA-MP client will use the proxy they have set in their Windows internet settings. However, there is an option to override the proxy by adding audioproxyoff=1 to the sa-mp.cfg file.

native RemoveBuildingForPlayer(playerid, modelid, Float:fX, Float:fY, Float:fZ, Float:fRadius);

RemoveBuildingForPlayer can remove existing objects and buildings from San Andreas for a particular player. This function only needs to be called once and the model ID you specify will be removed for that player around the given point and radius. You can specify a large radius to remove all objects of particular model ID.

[pawn]native PlayerPlaySound(playerid, soundid, Float:x, Float:y, Float:z);[/pawn]

This function can now play most sound IDs found in the \data\AudioEvents.txt file in your GTA San Andreas folder.

Notes:
- The 0.3d server lists are not yet operational.
- This release is for scripting only.
- More features and models will be added throughout the RC phase.

0.3d files

SA-MP 0.3d RC1 Client: http://team.sa-mp.com/RC/03d/sa-mp-0.3d-RC1-install.exe
SA-MP 0.3d RC1 Windows Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC1_win32.zip
SA-MP 0.3d RC1 Linux Server (20 slot): http://team.sa-mp.com/RC/03d/samp03dsvr_RC1.tar.gz