[Tutorial] Converting from 0.3b to 0.3c
#1

The how to of converting your scripts from 0.3(version) to 0.3.7
Introduction

This tutorial has been made for those who have no idea on how to convert scripts from different versions so here we go.

Downloading the SA:MP packages
If you are struggling to download the SA:MP packages here are the links.

0.3.7 Client
SA-MP 0.3.7 Client Installer

0.3.7 R1 Server
SA-MP 0.3.7 R1 Windows Server
SA-MP 0.3.7 R1 Linux Server

Converting
When you are converting I would advice you to backup your "pawno/includes" file before replacing them with the newest includes then you can replace the old files in your includes file with the ones from the 0.3.7 file and now open the Script you want to convert with the newest Pawno.exe then hit 'Compile'.

I'd advise you to back up your "gamemodes" & "filterscripts" folders just to be sure.

And that is it, I hope you have successfully converted your Scripts to 0.3.7.

Changelog
05/05/2015: Edited the links for 0.3.7.
19/01/2015: Edited the links for 0.3z.
Reply
#2

Nice TUT for beginners!
Reply
#3

Quote:
Originally Posted by Clive
View Post
Nice TUT for beginners!
Thank you.
Reply
#4

Quote:
Originally Posted by -Luis
View Post
When you are converting you will need to open the Script you want to convert with the newest Pawno.exe then hit 'Compile'.
Ehmno, you're supposed to compile it with the newest includes. Also, tell something about overwriting all old files and advice a backup.
Reply
#5

Quote:
Originally Posted by Hiddos
View Post
Ehmno, you're supposed to compile it with the newest includes. Also, tell something about overwriting all old files and advice a backup.
Thanks, I will edit that now.
Reply
#6

Nice TUT
Reply
#7

Honestly this made no since what so ever.

The only new includes i got were the:
-Gl_common.inc
-gl_spawns.inc

Can you go into more detail, act like i am 6 years old. It would help out a lot.
Reply
#8

Quote:
Originally Posted by BittleRyan
View Post
Honestly this made no since what so ever.

The only new includes i got were the:
-Gl_common.inc
-gl_spawns.inc

Can you go into more detail, act like i am 6 years old. It would help out a lot.
open up your Pawno folder and then you'll see that include folder. use that folder, not the other one you're talking about in that post.
Reply
#9

Nice work Luis
Reply
#10

What about any commands that need to be changed? like SetPlayerHoldingObject?
What about new functions like SetPlayerMapIcon which have extra parameters?
do we need to add these extra parameters?
what if we don't add these extra parameters?
what about new commands?
What about plugins? are they all compatible?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)