[README] Convert your gamemode from 0.3b to 0.3c!
#1

Introduction

As you've seen, a new version of SA:MP has been released, in 0.3c they've added a lot of new fuctions, but they've also changed some existing functions,
because of the changed arrays you cannot use your 0.3b gamemode on a 0.3c server without successfully re-compiling your script(s).


Let's Begin

Step 1: Download the latest server files, extract them into your server map, make sure you replace these files:

(Windows)
Код:
/samp-server.exe
/samp-npc.exe
/announce.exe
/pawno/include/a_samp.inc
/pawno/include/a_players.inc
/pawno/include/a_objects.inc
/pawno/include/a_vehicles.inc
Step 2: Re-compile you gamemode and filterscript(s) with the latest includes!
Step 3: Stop your server, upload the new files, and start your server.
(Warning: Restarting or GMX will not work!)

You're done!


Errors/Warnings

When you encounter any errors which weren't there before, make sure you've checked everything:

AttachPlayerObjectToPlayer
This function has been deleted in 0.3c, you can use an alternative function called SetPlayerAttachedObject.


Updates

Whats has been changed in 0.3c?

Quote:

* New objects.
* Colour embedding.
* Drive-by with all weapons.
* In dialogs leaving button 2 blank will make it disappear.

Added Functions;
* AttachObjectToVehicle
* ManualVehicleEngineAndLights
* SetVehicleParamsEx
* SetVehicleNumberplate
* SetPlayerAttachedObject
* RemovePlayerAttachedObject
* IsPlayerAttachedObjectSlotUsed

Changed Functions;
* SetPlayerMapIcon

Deleted Functions;
* AttachPlayerObjectToPlayer
_________________________________________________

Any further problems/questions? please post them here i'd love to help!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)