SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 17/06/2019, 09:04 PM   #1
koudz1999
Little Clucker
 
Join Date: Jun 2019
Location: South Korea
Posts: 4
Reputation: 0
Default converter file help !

Hi guy, am new in mapping !
and i had create a map by using Fusez's Map Editor V3
and it have script line like this
Quote:
=================================================
new g_Object[998];
g_Object[0] = CreateObject(19929, 1527.9619, -1664.9986, 60.2807, 0.0000, 0.0000, 180.0000); //MKWorkTop5
g_Object[1] = CreateObject(19379, 1515.3348, -1661.7696, 60.1958, 0.0000, 90.0000, 0.0000); //wall027
g_Object[2] = CreateObject(19379, 1525.8104, -1661.7895, 60.2159, 0.0000, 90.0000, 0.0000); //wall027
g_Object[3] = CreateObject(19379, 1525.8061, -1671.4206, 60.1958, 0.0000, 90.0000, 0.0000); //wall027
g_Object[4] = CreateObject(19450, 1510.1678, -1671.2390, 62.0051, 0.0000, 0.0000, 0.0000); //wall090
g_Object[5] = CreateObject(19379, 1525.8061, -1681.0527, 60.1958, 0.0000, 90.0000, 0.0000); //wall027
g_Object[6] = CreateObject(19450, 1510.1678, -1661.6059, 62.0051, 0.0000, 0.0000, 0.0000); //wall090
g_Object[7] = CreateObject(19379, 1515.3054, -1681.0327, 60.1958, 0.0000, 90.0000, 0.0000); //wall027
g_Object[8] = CreateObject(19379, 1515.3348, -1671.4007, 60.1958, 0.0000, 90.0000, 0.0000); //wall027
g_Object[9] = CreateObject(19450, 1510.1678, -1680.8669, 62.0051, 0.0000, 0.0000, 0.0000); //wall090
g_Object[10] = CreateObject(19379, 1515.3348, -1652.1566, 60.1958, 0.0000, 90.0000, 0.0000); //wall027
g_Object[11] = CreateObject(19379, 1515.3054, -1690.4680, 60.2060, 0.0000, 90.0000, 0.0000); //wall027
g_Object[12] = CreateObject(19379, 1525.7989, -1652.1540, 60.2060, 0.0000, 90.0000, 0.0000); //wall027
================================================== ====================
then i use ConvertFFS to convertffs it into CreateDynamicObject, but i can't !
someone can shared some tips for me, thanks !
koudz1999 is offline   Reply With Quote
Old 17/06/2019, 09:12 PM   #2
oMa37
Gangsta
 
Join Date: Feb 2016
Posts: 972
Reputation: 155
Default Re: converter file help !

Remove the variables.
oMa37 is offline   Reply With Quote
Old 17/06/2019, 09:23 PM   #3
koudz1999
Little Clucker
 
Join Date: Jun 2019
Location: South Korea
Posts: 4
Reputation: 0
Default Re: converter file help !

Quote:
Originally Posted by oMa37 View Post
Remove the variables.
it can't ! because i had this one too !
Quote:
g_Object[45] = CreateObject(18981, 1547.5777, -1679.9803, 66.8945, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
SetObjectMaterial(g_Object[45], 0, 18065, "ab_sfammumain", "gun_ceiling1", 0xFFFFFFFF);
koudz1999 is offline   Reply With Quote
Old 17/06/2019, 11:08 PM   #4
nbx2000
Big Clucker
 
Join Date: Dec 2016
Posts: 148
Reputation: 5
Default Re: converter file help !

CreateDynamicObject(19929, 1527.96191, -1664.99866, 60.28070, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(19379, 1515.33484, -1661.76965, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1525.81042, -1661.78955, 60.21590, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1525.80615, -1671.42065, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19450, 1510.16785, -1671.23901, 62.00510, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19379, 1525.80615, -1681.05273, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19450, 1510.16785, -1661.60596, 62.00510, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19379, 1515.30542, -1681.03271, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1515.33484, -1671.40076, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19450, 1510.16785, -1680.86694, 62.00510, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19379, 1515.33484, -1652.15662, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1515.30542, -1690.46802, 60.20600, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1525.79895, -1652.15405, 60.20600, 0.00000, 90.00000, 0.00000);
nbx2000 is offline   Reply With Quote
Old 17/06/2019, 11:47 PM   #5
koudz1999
Little Clucker
 
Join Date: Jun 2019
Location: South Korea
Posts: 4
Reputation: 0
Default Re: converter file help !

Quote:
Originally Posted by nbx2000 View Post
CreateDynamicObject(19929, 1527.96191, -1664.99866, 60.28070, 0.00000, 0.00000, 180.00000);
CreateDynamicObject(19379, 1515.33484, -1661.76965, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1525.81042, -1661.78955, 60.21590, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1525.80615, -1671.42065, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19450, 1510.16785, -1671.23901, 62.00510, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19379, 1525.80615, -1681.05273, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19450, 1510.16785, -1661.60596, 62.00510, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19379, 1515.30542, -1681.03271, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1515.33484, -1671.40076, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19450, 1510.16785, -1680.86694, 62.00510, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(19379, 1515.33484, -1652.15662, 60.19580, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1515.30542, -1690.46802, 60.20600, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19379, 1525.79895, -1652.15405, 60.20600, 0.00000, 90.00000, 0.00000);
how about this ?

Quote:
g_Object[45] = CreateObject(18981, 1547.5777, -1679.9803, 66.8945, 0.0000, 90.0000, 0.0000); //Concrete1mx25mx25m
SetObjectMaterial(g_Object[45], 0, 18065, "ab_sfammumain", "gun_ceiling1", 0xFFFFFFFF);
koudz1999 is offline   Reply With Quote
Old 18/06/2019, 09:19 AM   #6
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 240
Reputation: 13
Default Re: converter file help !

Why use a converter when every text editor has a search and replace option?
And if you want to add missing parameters search for ")" and replace with ", parameter)"
Plastikmensch is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Fix (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory) on Debian 6 and greater. Tessa Tutorials 13 26/11/2014 05:05 PM
AntiCheat by Gamer_Z : (libsampgdk.so.2: cannot open shared object file: No such file or directory) petrux Scripting Help 7 16/02/2014 08:19 PM
Failed (plugins/streamer: cannot open shared object file: No such file or directory) maxpain43 Scripting Help 2 23/07/2013 11:14 AM
Failed (plugins/whirlpool.so: cannot open shared object file: No such file or directory) kbalor Server Support 6 30/08/2012 10:47 AM
Failed (plugins/whirlpool: cannot open shared object file: No such file or direc shotyoudie Server Support 1 19/03/2010 12:20 AM


All times are GMT. The time now is 06:15 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.