SA-MP Forums Archive
Okay whats a good plan of attack: 'converting' 0.2x script to 0.3 - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Okay whats a good plan of attack: 'converting' 0.2x script to 0.3 (/showthread.php?tid=342468)



Okay whats a good plan of attack: 'converting' 0.2x script to 0.3 - kaisersouse - 13.05.2012

I need to update my existing gamemode to be more 'modern'. I've been out of the loop for a while so...what should I really be focusing on in regards to getting things up-to-date? Where have the most substantial changes been (objects, vehicles, etc)? What common problems are people running into when moving from 0.2 stuff to 0.3?

Thanks!


Re: Okay whats a good plan of attack: 'converting' 0.2x script to 0.3 - ViniBorn - 13.05.2012

Some functions have been renamed, and so things like file systems and processors commands have been enhanced.


Re: Okay whats a good plan of attack: 'converting' 0.2x script to 0.3 - Face9000 - 13.05.2012

Lol updating from 0.2x to 0.3e it's like modding a Fiat 500 with a Ferrari engine.

No seriously,some functions have been renamed or deleted,so i think you will get some errors after compiling with 0.3e includes.


Re: Okay whats a good plan of attack: 'converting' 0.2x script to 0.3 - Kar - 13.05.2012

^ don't listen to that Logitech guy

No worries, the wiki is here to save the day!

This is all you need

https://sampwiki.blast.hk/wiki/Limits

https://sampwiki.blast.hk/wiki/Category:Added_in_0.3
https://sampwiki.blast.hk/wiki/Category:Added_in_0.3b
https://sampwiki.blast.hk/wiki/Category:Added_in_0.3c
https://sampforum.blast.hk/showthread.php?tid=271586
https://sampwiki.blast.hk/wiki/Category:Added_in_0.3d
https://sampwiki.blast.hk/wiki/Category:Added_in_0.3e

There you go It shouldn't be too hard.


Re: Okay whats a good plan of attack: 'converting' 0.2x script to 0.3 - Face9000 - 13.05.2012

Quote:
Originally Posted by Kar
Посмотреть сообщение
^ don't listen to that Logitech guy
Lmao i was joking.I never said it's impossible to convert.I just said that some functions have been renamed/removed.


Re: Okay whats a good plan of attack: 'converting' 0.2x script to 0.3 - kaisersouse - 15.05.2012

Kar: Thanks

Logitech: For the record, my 022 script recompiled in 03e without any issues. The only thing I saw after was the whining about using CreateVehicle for trains lol.

Other than that I loaded the new includes, pushed F5 and a valid AMX came out. I like to think thats because even though I'm nowheres near a great scripter...at least I kept things consistent enough to not have to do anything really to make it compile haha.