SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Closed Thread
Thread Tools Display Modes
Old 05/03/2012, 09:07 AM   #1
SA-MP Developer
Join Date: Apr 2005
Posts: 1,180
Reputation: 2891
Thumbs up SA-MP 0.3e client/server (now released)

SA-MP 0.3e RC

Note: SA-MP 0.3e is now released. This thread will be archived.

SA-MP 0.3e is mainly a security update. Some new features and models are planned. More will be added during the RC period.

- There are some minor security problems in the previous version which is resulting in servers being attacked with specially made tools. Resolving this issue requires both a client and server update.

Client/server update SA-MP 0.3e RC8

- Fixes TextDraw clicking in windowed mode. Similar issues existed for attachment editing in windowed mode.
- More information added to the crash handler in the Windows server.
- The player's controllable state is reset on the server after respawn.

Optional client update SA-MP 0.3e RC7-3

- Fixes problem with text-based materials not displaying text on certain background colours.

Optional client update SA-MP 0.3e RC7-2

- There were some issues with object material changing (including text materials) where the material changes might effect all objects using the same model ID.

Client/server update SA-MP 0.3e RC7

- Adds SetObjectMaterialText/SetPlayerObjectMaterialText for replacing an object's texture with text.
- Fixes problem with players being randomly cuffed if they spawned for you while alt-tabbed.
- Vehicle seat ID checks are less strict for planes and boats.
- SetPlayerAttachedObject now has 2 additional default parameters for material colour. This will require you to recompile your scripts for 0.3e.
- Material colours are now in ARGB format.
- New models from cessil: Blank squares for creating signs, some replacement buildings and houses.

Client/server update SA-MP 0.3e RC6

- Fixes game crash if your vehicle is deleted while you're using the look behind camera.
- Removes Pay'n'Spray map icons.
- Adds GetVehicleModelInfo() pawn native for getting various information about vehicle models such as size etc.
- Local head movements are automatically disabled when using the attached object editor tool.
- Adds SetObjectMaterial() and SetPlayerObjectMaterial() so you can replace the texture on an object with a texture from another model in the game.
- New objects from cessil: for sale sign, gasmask, grass, poker table.
- Fixes a bug where an uncontrollable player might still appear to have animations (like jumping etc) to other players.

Client/server update SA-MP 0.3e RC5

- There was a new bug introduced in 0.3e RC4 where sunk vehicles might get deleted by the client.
- Fixed: TextDraw still using hover colour after selection was disabled.
- Extra security is added to script callbacks including OnDialogResponse.
- Fixed: Two-sided texture problem with the bucket model.
- Adds per-player TextDraw system with up to 256 TextDraws per player. There are now global-scope TextDraws and player-scope. All TextDraw functions have player variants:

pawn Code:
native PlayerText:CreatePlayerTextDraw(playerid, Float:x, Float:y, text[]);
native PlayerTextDrawShow(playerid, PlayerText:text);
native PlayerTextDrawHide(playerid, PlayerText:text);
native PlayerTextDrawSetString(playerid, PlayerText:text, string[]);
// ..[] etc

Client/server update SA-MP 0.3e RC4

- Should fix vehicle ID messup if a dead vehicle was deleted by the game.
- Player slots for the RC are now uncapped (up to 500 players).
- Fixed texture filtering issue on the new models.
- Added noclip flymode camera example filterscript.
- New models from cessil: 40 more walls, vehicle barrier, bucket, scarf.
- The server can now enable the player's mouse cursor to click on a TextDraw:

pawn Code:
native TextDrawSetSelectable(Text:text, set); // the default is 0 (non-selectable)
native SelectTextDraw(playerid, hovercolor); // enables the mouse so the player can select a textdraw
native CancelSelectTextDraw(playerid)// cancel textdraw selection with the mouse
forward OnPlayerClickTextDraw(playerid, Text:clickedid);

Notes on SelectTextDraw():
- All clickable TextDraws must use TextDrawTextSize to define the clickable area. It is possible to create TextDraws without using this function.
- You should enable the TextDraw box when doing the layout so you can see the region which is clickable. You can disable the box after.

Client/server update SA-MP 0.3e RC3

- Fixed problem where player attached objects might appear floating, not attached to the player - if the game decided to stream the player out.
- Attached objects will be removed when the player respawns or enters class selection, not when the player dies (during the death animation).
- Added new objects from cessil: ~40 new walls including doorways and windows, handcuffs, police lights, speed bump, different coloured headphones.

Screenshots of new handcuffs object:

Client/server update SA-MP 0.3e RC2

- Fixed bug where the player might get teleported to 0,0,0 if they're surfing a vehicle that gets respawned/deleted.
- New pawns:
pawn Code:
native AttachPlayerObjectToVehicle(playerid, objectid, vehicleid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:RotZ);
native InterpolateCameraPos(playerid, Float:FromX, Float:FromY, Float:FromZ, Float:ToX, Float:ToY, Float:ToZ, time, cut = CAMERA_CUT);
native InterpolateCameraLookAt(playerid, Float:FromX, Float:FromY, Float:FromZ, Float:ToX, Float:ToY, Float:ToZ, time, cut = CAMERA_CUT);
native AttachCameraToObject(playerid, objectid);
native AttachCameraToPlayerObject(playerid, playerobjectid);

Client/server update SA-MP 0.3e RC1

- Fixed a bug introduced in 0.3d where a player might be able to avoid death if they have a custom animation applied.
- An issue setting the player colour of player IDs greater than 500 has been resolved.
- An issue where a player might get kicked if the server used SpawnPlayer() has been fixed.
- Fixed an issue with the server browser where it might crash if invalid data was returned by the server.

Although SA-MP 0.3e is mainly a security update, there are a few new features:

- Added some new models models made by cessil including tophat, cane, several different wall sections.
- Scripted dialogs now have a caption bar.

- The server can get the exact revision of the client using GetPlayerVersion().
pawn Code:
native GetPlayerVersion(playerid, const version[], len); // Returns the SA-MP client revision as reported by the player

- A parameter has been added to SetPlayerCameraLookAt() so that the camera will move to the new position, rather than teleport.
pawn Code:
#define CAMERA_CUT  2
#define CAMERA_MOVE 1
native SetPlayerCameraLookAt(playerid, Float:x, Float:y, Float:z, cut = CAMERA_CUT);

- A new tool has been added to make it easier to find positions for player attached objects. This new tool can also be used on ordinary objects.

Last edited by Kalcor; 07/05/2012 at 11:29 PM.
Kalcor is offline  
Old 05/03/2012, 09:15 AM   #2
Join Date: Aug 2010
Posts: 543
Reputation: 88
Default Re: SA-MP 0.3e RC client/server

Wow 0.3e already
iTorran is offline  
Old 05/03/2012, 09:18 AM   #3
Big Clucker
mihan-888's Avatar
Join Date: Jun 2011
Location: Russia
Posts: 61
Reputation: 25
Default Re: SA-MP 0.3e RC client/server

wow, thanks
mihan-888 is offline  
Old 05/03/2012, 09:19 AM   #4
Big Clucker
Join Date: Aug 2011
Location: Slovenia
Posts: 199
Reputation: 65
Default Re: SA-MP 0.3e RC client/server

wow samp is getting even better. keep it up!
[Diablo] is offline  
Old 05/03/2012, 09:20 AM   #5
Little Clucker
Join Date: Dec 2010
Posts: 4
Reputation: 0
Default Re: SA-MP 0.3e RC client/server

good news
Sanek_M is offline  
Old 05/03/2012, 09:20 AM   #6
Little Clucker
Join Date: Feb 2009
Posts: 43
Reputation: 0
Default Re: SA-MP 0.3e RC client/server

Nice work!
Wanted1900 is offline  
Old 05/03/2012, 09:24 AM   #7
Little Clucker
Join Date: Aug 2011
Location: Russian Federetion,Chelyabinsk
Posts: 3
Reputation: 0
Default Re: SA-MP 0.3e RC client/server

Dad96 is offline  
Old 05/03/2012, 09:29 AM   #8
Little Clucker
rokki's Avatar
Join Date: Sep 2011
Posts: 29
Reputation: 18
Default Re: SA-MP 0.3e RC client/server

Yes 0.3e)
rokki is offline  
Old 05/03/2012, 09:31 AM   #9
Posts: n/a
Default Re: SA-MP 0.3e RC client/server

Old 05/03/2012, 09:35 AM   #10
Join Date: Nov 2008
Location: England
Posts: 1,843
Reputation: 52
Default Re: SA-MP 0.3e RC client/server

Great to see another version being released.
Burridge is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT. The time now is 08:29 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.