[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
#2

i have problem: Script[gamemodes/larp.amx]:run time error 19:''file or function is not found''
Reply
#3

Quote:
Originally Posted by gondes
Посмотреть сообщение
i have problem: Script[gamemodes/larp.amx]:run time error 19:''file or function is not found''
That's not a 0.3c problem, but anyways this is mostly because of failed plugins.
Reply
#4

How to repair this problem?
Reply
#5

you've ran something thats editing ur includes, or you might of loaded a plugin which isnt in the plugins folder or is damaged, nice mini tut btw :P
Reply
#6

I have a huge problem as well, Nothing seems to work on my server and I have everything as before, And everything worked fine in 0.3c RC4
Reply
#7

Very helpfull, and thanks
Reply
#8

Good job.
Reply
#9

i have the same problem and cant find a solution can someone plz help me
Reply
#10

Quote:
Originally Posted by bomm89
Посмотреть сообщение
i have the same problem and cant find a solution can someone plz help me
Seems like a lot of people have this problem, i think it's a plugin problem, remove all your plugins and try again.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)