[Helpful!] Some notes about 0.3
#1

The following is a quick list of what you will likely need to do to get your script to work with 0.3 fully.

SetDisabledWeapons - REMOVED. This function no longer exists, so don't use it - Use OnPlayerUpdate to check for weapon
EnableTirePopping - REMOVED. This function no longer exists. It is now ON at all times.
OnPlayerPrivmsg - REMOVED. This function no longer exists, as well as it's team variant (See below)
The following default commands are removed; /tpm /pm. Check the base.pwn in /filterscripts/ for a replacement /pm command.

If you lock vehicles;
You will need to re-apply locks at OnVehicleStreamIn, for example, see: http://pastebin.com/f54879d35
Full locking script by kc here: http://pastie.org/602932 (It's also on reply #6 of this thread)

If you attach objects to players;
You will need to re-apply the attachment at OnPlayerStreamIn. Example: http://pawn.pastebin.com/f71c9c389 (untested, by lavamike, may work)

If you wish to enable a shop, even when enter/exits are disabled, then you can use SetPlayerShopName(playerid,shop); to load the details for that area. This does NOT work for casinos. See: https://sampwiki.blast.hk/wiki/SetPlayerShopName

The Area 51 block objects are removed (the jet pack roof vent, and the little vent to the side of the entrance), to replace them as they where before, use;
Код:
	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
If you use G-sTyLeZzZ MySQL plugin, it doesn't work on 0.3, however the fixed version is available here;
http://forum.sa-mp.com/index.php?topic=79352.0


AllowPlayerTeleport only works if AllowAdminTeleport is also enabled.

To fully repair a vehicle, use RepairVehicle(); - This also repairs any damage, as well as fixes smoke.

Callbacks for NPCs have NPC variants of callbacks, such as OnNPCExitVehicle, or OnNPCConnect.

Full info on 0.3s limits are here: https://sampwiki.blast.hk/wiki/Limits

For NPC info, and how to create them properly, see this thread by kc: http://forum.sa-mp.com/index.php?topic=119947.0

Traffic lights ARE synced, but currently over time they form a slightly lag and de-sync in time. Kye has stated this will be fixed in future versions.

Remember to replace the new includes with the old SA:MP ones. (Backup the old ones, unless you're not going to update your old script for 0.2 anymore)

When using trains, CreateVehicle may not work, use AddStaticVehicle(Ex)

This scripting release has a max players of 16. The full has 500.

If you wish to edit the rate of which objects and vehicles are streamed, see server.cfg. The max is 500. (default is 400)

The below is a list of releases on this forum which apparantly cause issues on the current scripting release;


Seif Vehicles (seif_vehicles.inc) (See: http://forum.sa-mp.com/index.php?topic=119949.0) - Fixed
Reply


Messages In This Thread
[Helpful!] Some notes about 0.3 - by Redirect Left - 02.09.2009, 10:55
Re: [Helpful!] Some notes about 0.3 for you all - by Stas92 - 02.09.2009, 11:02
Re: [Helpful!] Some notes about 0.3 for you all - by Redirect Left - 02.09.2009, 11:02
Re: [Helpful!] Some notes about 0.3 for you all - by Stas92 - 02.09.2009, 11:04
Re: [Helpful!] Some notes about 0.3 for you all - by Redirect Left - 02.09.2009, 11:37
Re: [Helpful!] Some notes about 0.3 for you all - by lavamike - 02.09.2009, 11:48
Re: [Helpful!] Some notes about 0.3 - by kc - 02.09.2009, 13:23
Re: [Helpful!] Some notes about 0.3 - by MenaceX^ - 02.09.2009, 13:35
Re: [Helpful!] Some notes about 0.3 - by Redirect Left - 02.09.2009, 13:36
Re: [Helpful!] Some notes about 0.3 - by MenaceX^ - 02.09.2009, 16:45
Re: [Helpful!] Some notes about 0.3 - by MenaceX^ - 04.09.2009, 12:20
Re: [Helpful!] Some notes about 0.3 - by ded - 04.09.2009, 12:27
Re: [Helpful!] Some notes about 0.3 - by Whiteagle - 04.09.2009, 21:52
Re: [Helpful!] Some notes about 0.3 - by kc - 04.09.2009, 22:04
Re: [Helpful!] Some notes about 0.3 - by Y_Less - 04.09.2009, 22:12
Re: [Helpful!] Some notes about 0.3 - by ded - 04.09.2009, 23:44
Re: [Helpful!] Some notes about 0.3 - by lavamike - 05.09.2009, 04:26
Re: [Helpful!] Some notes about 0.3 - by Balon - 05.09.2009, 07:29
Re: [Helpful!] Some notes about 0.3 - by Brendan_Thomson - 05.09.2009, 15:10
Re: [Helpful!] Some notes about 0.3 - by Calgon - 05.09.2009, 17:37
Re: [Helpful!] Some notes about 0.3 - by Haku - 06.09.2009, 08:07
Re: [Helpful!] Some notes about 0.3 - by Trooper[Y] - 08.09.2009, 15:30
Re: [Helpful!] Some notes about 0.3 - by Rac3r - 08.09.2009, 15:48
Re: [Helpful!] Some notes about 0.3 - by lavamike - 11.09.2009, 00:28
Re: [Helpful!] Some notes about 0.3 - by Redirect Left - 11.09.2009, 12:08
Re: [Helpful!] Some notes about 0.3 - by [OREL]Atos - 13.09.2009, 09:41
Re: [Helpful!] Some notes about 0.3 - by Sergei - 13.09.2009, 09:44
Re: [Helpful!] Some notes about 0.3 - by [OREL]Atos - 13.09.2009, 09:51
Re: [Helpful!] Some notes about 0.3 - by Sergei - 13.09.2009, 10:02
Re: [Helpful!] Some notes about 0.3 - by PyroFox - 13.09.2009, 10:12
Re: [Helpful!] Some notes about 0.3 - by Stepashka - 13.09.2009, 10:45
Re: [Helpful!] Some notes about 0.3 - by Sergei - 13.09.2009, 10:58
Re: [Helpful!] Some notes about 0.3 - by Stepashka - 13.09.2009, 11:50
Re: [Helpful!] Some notes about 0.3 - by Sergei - 13.09.2009, 12:21
Re: [Helpful!] Some notes about 0.3 - by Stepashka - 13.09.2009, 12:48
Re: [Helpful!] Some notes about 0.3 - by *James* - 20.09.2009, 14:12
Re: [Helpful!] Some notes about 0.3 - by ded - 20.09.2009, 14:21
Re: [Helpful!] Some notes about 0.3 - by AlexDontKill - 20.09.2009, 14:57
Re: [Helpful!] Some notes about 0.3 - by V1ceC1ty - 21.09.2009, 14:27
Re: [Helpful!] Some notes about 0.3 - by Gergo1352 - 21.09.2009, 14:44

Forum Jump:


Users browsing this thread: 17 Guest(s)