Veigar Posted May 29, 2017 Share Posted May 29, 2017 (edited) I want a way to easily convert object lines in an IPL file to 'CreateObject' lines in Pawno so that I can place map changes from singleplayer into an Sa-Mp server setting as a filterscript without having to tirelessly re-type out hundreds of lines of mapping code in another format. As an example, I want something that can quickly and easily convert many lines of this: 8038, arprtermnl01_lvs, 0, 503.38, -2503, 21.55, 0, 0, 0.707108188464, -0.707105373907, -1 ...into this... CreateObject(8038,503.38,-2503.0,21.55,0.00000000,0.00000000,0.707108188464); ...all at once. I've searched for a while, and I've found things that can convert between MTA map files and Sa-Mp filterscripts, but I haven't been able to find anything still existing that can do this. The only thing I could find was something I couldn't seem to get to work, which I've linked below: https://pastebin.com/1VuTHaf3 It looks like it'd be perfect for what I want, but I'm not sure how to use it. So if anyone could help me find a way to convert this stuff efficiently or help me figure out how that code works so I can convert with that, either would be much appreciated. I'm sorry for the SA-MP related question, but SA-MP forums seems to not let me post for whatever reason even though I've signed up and activated my account. As previously stated, any help is appreciated, I'm just looking for some advice or tips. Would've posted in coding, but this isn't a mission related code or anything. P.S. English isn't my first language, sorry for funky sounding things here and there. Edited May 29, 2017 by Veigar Link to comment Share on other sites More sharing options...