SA-MP Forums Archive
Problem with .map - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem with .map (/showthread.php?tid=199826)



Problem with .map - 06leachr - 16.12.2010

So I've made a map which vitally includes vehicles and it is saved as a .map. I use a popular converter to covert into pawn code, but all I get is:

pawn Код:
CreateObject(1337, 1585.4385986328, -1695.9215087891, 5.8679757118225, 0, 0, 0);
CreateObject(1238, 1589.6319580078, -1686.4594726563, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.59375, -1687.1890869141, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6058349609, -1688.0974121094, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6557617188, -1688.8543701172, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6707763672, -1690.0130615234, 5.4056706428528, 0, 0, 0);
CreateObject(1238, 1589.6383056641, -1689.5133056641, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6475830078, -1691.2578125, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.7239990234, -1692.6959228516, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6209716797, -1685.7097167969, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.7108154297, -1694.2048339844, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6518554688, -1696.0390625, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6560058594, -1685.0622558594, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.62109375, -1684.3583984375, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6275634766, -1683.5810546875, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.6469726563, -1682.8344726563, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1589.3973388672, -1682.2143554688, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1589.0246582031, -1681.6868896484, 5.2088050842285, 0, 0, 0);
CreateObject(1238, 1588.3919677734, -1681.6612548828, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1587.7750244141, -1681.5784912109, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1587.1878662109, -1681.6313476563, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1586.5321044922, -1681.7095947266, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1585.857421875, -1681.7042236328, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1585.1922607422, -1681.6784667969, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1584.4758300781, -1681.5629882813, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1583.6706542969, -1681.6654052734, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1582.8399658203, -1681.5698242188, 5.2151713371277, 0, 0, 0);
CreateObject(1238, 1581.7775878906, -1681.5401611328, 5.2151713371277, 0, 0, 0);
CreateObject(1686, 1592.4189453125, -1715.6142578125, 6.1138591766357, 0, 0, 0);
CreateObject(1686, 1587.9296875, -1695.5584716797, 5.21875, 0, 0, 0);
CreateObject(1650, 1588.1926269531, -1694.5316162109, 5.5254130363464, 0, 0, 0);
CreateObject(1257, 1535.8247070313, -1667.6300048828, 13.662004470825, 0, 0, 0);
CreateObject(1257, 1535.9360351563, -1678.7369384766, 13.662004470825, 0, 0, 0);
CreateObject(1257, 1535.9501953125, -1673.1614990234, 13.662004470825, 0, 0, 0);
No vehicles whatsover.

Can anyone help me?

Cheers, Rob.


Re: Problem with .map - Mehtab - 16.12.2010

try this


Re: Problem with .map - SAMPGammer - 16.12.2010

no for more best > http://www.convertffs.com/


Re: Problem with .map - Baboon - 16.12.2010

use MTA, use map editor, then convert it via convertffs.com.


Re: Problem with .map - yvoms - 16.12.2010

Convert it with convertffs.com the vehicles will automaticly add in the list,


Re: Problem with .map - Ricardo187 - 16.12.2010

I don't understund your problem.... You don't know how to add the vehicles in the GM/Server?
You can add it by puting on: OnGameModeInit (if on gamemode)
Or create a filter script.... Filter script to your cars:

pawn Код:
#define FILTERSCRIPT

#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Blank Filterscript by your name here");
    print("--------------------------------------\n");
   
    CreateObject(1337, 1585.4385986328, -1695.9215087891, 5.8679757118225, 0, 0, 0);
    CreateObject(1238, 1589.6319580078, -1686.4594726563, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.59375, -1687.1890869141, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6058349609, -1688.0974121094, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6557617188, -1688.8543701172, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6707763672, -1690.0130615234, 5.4056706428528, 0, 0, 0);
    CreateObject(1238, 1589.6383056641, -1689.5133056641, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6475830078, -1691.2578125, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.7239990234, -1692.6959228516, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6209716797, -1685.7097167969, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.7108154297, -1694.2048339844, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6518554688, -1696.0390625, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6560058594, -1685.0622558594, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.62109375, -1684.3583984375, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6275634766, -1683.5810546875, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.6469726563, -1682.8344726563, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1589.3973388672, -1682.2143554688, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1589.0246582031, -1681.6868896484, 5.2088050842285, 0, 0, 0);
    CreateObject(1238, 1588.3919677734, -1681.6612548828, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1587.7750244141, -1681.5784912109, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1587.1878662109, -1681.6313476563, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1586.5321044922, -1681.7095947266, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1585.857421875, -1681.7042236328, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1585.1922607422, -1681.6784667969, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1584.4758300781, -1681.5629882813, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1583.6706542969, -1681.6654052734, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1582.8399658203, -1681.5698242188, 5.2151713371277, 0, 0, 0);
    CreateObject(1238, 1581.7775878906, -1681.5401611328, 5.2151713371277, 0, 0, 0);
    CreateObject(1686, 1592.4189453125, -1715.6142578125, 6.1138591766357, 0, 0, 0);
    CreateObject(1686, 1587.9296875, -1695.5584716797, 5.21875, 0, 0, 0);
    CreateObject(1650, 1588.1926269531, -1694.5316162109, 5.5254130363464, 0, 0, 0);
    CreateObject(1257, 1535.8247070313, -1667.6300048828, 13.662004470825, 0, 0, 0);
    CreateObject(1257, 1535.9360351563, -1678.7369384766, 13.662004470825, 0, 0, 0);
    CreateObject(1257, 1535.9501953125, -1673.1614990234, 13.662004470825, 0, 0, 0);
    return 1;
}
#endif



Re: Problem with .map - 06leachr - 16.12.2010

Cheers guys, convertffs worked perfectly :P