General > General Server Discussion

SA-MP 0.3e is released!

<< < (4/18) > >>

Karlip:
RC4 has been released with:

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:


--- Quote ---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);
--- End quote ---

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.

http://forum.sa-mp.com/showthread.php?t=323271

musicloveR:
 ^  i didnt understand a thing :D

speak english please lol

Karlip:

--- Quote from: [MAF]Nikki on March 20, 2012, 02:22:42 pm --- ^  i didnt understand a thing :D

--- End quote ---

The server can now create texts which you can click with the SA-MP in game cursor!

musicloveR:
looking forward to it :D

[MAF]PyroFox:
That's gonna be pretty cool! The scripters will find some nice uses for that I bet, and the new camera functions too :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version