I know there are lots of good suggestions being posted but please keep them for the next version and do not post them in this section of the forum. |
Major changes needed to 0.2X scripts: - Vehicle locking can only be applied to streamed-in vehicles. Please see the bottom of rivershell.pwn if your script uses SetVehicleParamsForPlayer. - CreatePickup has a new virtual world default parameter. This won't require any changes to your script, although you will at least need to recompile with the 0.3 includes. - SetDisabledWeapons is removed. - The client commands /pm /tpm and the server callbacks OnPlayerPrivMsg and OnPlayerTeamPrivMsg are removed. If you need a replacement /pm command please see the base.pwn filterscript. - Multi-car trains can only be created with AddStaticVehicle/Ex. Do not use CreateVehicle. - The new limits of 0.3 can be found on this page: https://sampwiki.blast.hk/wiki/Limits - New pawn scripting natives added in 0.3 can be found here: https://sampwiki.blast.hk/wiki/Category:Added_in_0.3 - Although the vehicle model limit in 0.3 is unlimited, if you use a large amount of vehicle models, you may notice parts of your mode become framey as vehicle models are dynamically loaded/unloaded. Keeping the number of vehicle models below 150 is a good idea. Notes: - SetVehicleNumberplate does not work. This function can't work due to SA's internal coding which only assigns 1 numplate per vehicle model. The function itself will be left in for future use if it can be made to work. - Bug report: PutPlayerinVehicle will crash your Client if the Vehicle is not streamed in. [I can't replicate this crash. /player2v (playerid) (vehicleid) in npc_record fs works as expected]. - Bug report: Paintjobs based on invalid texture IDs won't work anymore. [That's right. Invalid IDs may have worked but could also induce crashes. Invalid paintjob IDs are blocked.] - Bug report: Long TextDraws will crash the client. [This problem isn't well understood yet. In the npc_record fs /longtd command I create a 670 character textdraw which does not crash. Ones that do crash are either exceeding some formating code limit or have dimensions wrong for their text.] - Bug report: Car mods aren't applied after vehicle is created. [No problems here. I tried the exact script given and it functions as expected. Regression function is in npc_record under /carmodtest - 3D Text has an LOS parameter for line-of-sight checking - CreatePickup will take -1 vworld param for all vworlds - If dialogid is less than 0 (ie -1) any open dialog will be closed. - Dialog info limit is now 4096 characters. - announce will now use the 'bind' address for announcing on linux. - Added /pagesize client command to set the number of chat lines displayed (10-20 lines default: 10). - If a server creates vehicles dynamically (CreateVehicle) the vehicle model loading wasn't optimised, which lead to small "lags/freezes" while vehicle models were being loaded/unloaded. - If the player's clock is enabled, weather ID changes will interpolate rather than instantly changing. - The server crash_log on Windows will display the stack information. - Weapon skills reset to 999 after a gamemode restart. |
Key: Right Wrong Dialog Box In graphical user interfaces, a dialog (or dialogue) box is a special window, used in user interfaces to display information to the user, or to get a response if needed. They are so-called because they form a dialog between the computer and the user—either informing the user of something, or requesting input from the user, or both. It provides controls that allow you to specify how to carry out an action. GUI A GUI offers graphical icons, and visual indicators, as opposed to text-based interfaces, typed command labels or text navigation to fully represent the information and actions available to a user. The actions are usually performed through direct manipulation of the graphical elements. |
* onfoot_rate - The minimum time in milliseconds a client updates the server with new data while running/walking. * incar_rate - The minimum time in milliseconds a client updates the server with new data while in a vehicle. * weapon_rate - The minimum time in milliseconds a client updates the server with new data while firing a weapon. * stream_distance - The distance on the X,Y plane which server entities will stream in for connected players. * stream_rate - The number of milliseconds that must elapse before server entities stream distance is retested for each player. * maxnpc - The number of NPC's allowed to connect to your server (MAX 500)
CreateObject(3095,268.94,1884.14,16.06,0.00,0.00,0.00); // JetPack room block CreateObject(3117,245.952,1862.810,19.49,0.0,0.0,-140.998); // Vent Block
is to do with the script that server is running. I've already spoken with the server owners. They create most vehicles with CreateVehicle so the models aren't preloaded. That means the first time a car streams in there will be a small lag while the model is loaded. But after it's loaded it won't lag anymore. So after about 5-10 mins of playing you'll notice the lags go away. |
If your script is forcing the NPC to login, or you have an anti-cheat / ping kicker that is interfering with your NPC. You can add... pawn Код:
|
SA-MP 0.3a is released! As usual, the new update is available on the Download Page. This is the first major SA-MP update since SA-MP 0.2 and there are more features and fixes than can be listed on this page. Here is a short summary of some of the new features in SA-MP 0.3a: - Up to 500 players per server and up to 2000 vehicles. - New mouse driven scoreboard, chat and other UIs. - Visible vehicle damage and vehicle repairing. - NPC bots that can drive trains, planes and more. - Completely server controlled game play. - Improved sync including vehicle surfing. - Many new scripting features. - Many bug and crash fixes - SA-MP 0.3a is the most stable version yet! |
Please use this thread to report confirmed bugs from 0.3a RC7 onwards HERE. |
Originally Posted by FUNExtreme
But under bugs
Quote:
|
Originally Posted by Burridge
Quote:
|
timestamp = 1 (bool) nosign = "" (string) (read-only) myriad = 0 (bool) sleep = 5 (int) |
Originally Posted by Abhishek
Is there a way to show only ONE button in a Dialog?
|