27.12.2010, 22:16
(
Последний раз редактировалось DVDK; 28.12.2010 в 14:50.
)
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)
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?
_________________________________________________
Any further problems/questions? please post them here i'd love to help!
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 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!