SA-MP Forums Archive
Map cods fail need to know why!! - 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: Map cods fail need to know why!! (/showthread.php?tid=540930)



Map cods fail need to know why!! - Ryz - 08.10.2014

my map cods not WORKING idk why

yes they made by me and made in samp map construction

but they not showing up after added in gamemode


pawn Код:
CreateObject(3928, 338.74686, 1513.15320, -497.62003,   0.00000, 0.00000, -90.00000);
CreateObject(3928, 314.05927, 1537.82971, -498.92004,   0.00000, 0.00000, -90.00000);
CreateObject(3928, 285.24905, 1512.98254, -497.94003,   0.00000, 0.00000, -90.00000);
CreateObject(987, -173.23695, 1704.13684, -452.81253,   0.00000, 0.00000, 91.00000);
CreateObject(16096, -124.03345, 1725.60608, -450.44324,   0.00000, 0.00000, 0.00000);
CreateObject(987, -263.59155, 1694.92029, -453.00253,   0.00000, 0.00000, 180.00000);
CreateObject(987, -275.59567, 1694.96033, -453.00253,   0.00000, 0.00000, 90.00000);
CreateObject(987, -275.58307, 1706.90540, -453.00253,   0.00000, 0.00000, 90.00000);
CreateObject(987, -275.44595, 1718.81921, -453.00253,   0.00000, 0.00000, 178.00000);
CreateObject(987, -287.37695, 1719.24255, -453.00253,   0.00000, 0.00000, 164.00000);
CreateObject(987, -298.86765, 1722.53601, -453.00253,   0.00000, 0.00000, 158.00000);
CreateObject(987, -309.93835, 1727.03381, -453.00253,   0.00000, 0.00000, 154.00000);
CreateObject(987, -320.51584, 1732.25818, -453.00253,   0.00000, 0.00000, 148.00000);
CreateObject(987, -330.64206, 1738.58752, -453.00253,   0.00000, 0.00000, 138.00000);
CreateObject(987, -339.54675, 1746.59412, -453.00253,   0.00000, 0.00000, 130.00000);
CreateObject(987, -347.25476, 1755.77502, -453.00253,   0.00000, 0.00000, 122.00000);
CreateObject(987, -353.61014, 1765.91614, -453.00253,   0.00000, 0.00000, 118.00000);
CreateObject(987, -359.23489, 1776.50037, -453.00253,   0.00000, 0.00000, 118.00000);
CreateObject(987, -364.85794, 1787.07092, -453.00253,   0.00000, 0.00000, 126.00000);
CreateObject(987, -371.86484, 1796.74670, -453.00253,   0.00000, 0.00000, 134.00000);
CreateObject(987, -362.30896, 1811.88708, -453.00253,   0.00000, 0.00000, 140.00000);
CreateObject(987, -354.00409, 1803.29260, -453.00253,   0.00000, 0.00000, 134.00000);
CreateObject(8149, -306.38831, 1856.82092, -452.58252,   0.00000, 2.00000, -42.00000);



Re: Map cods fail need to know why!! - Sawalha - 08.10.2014

Are you sure you put them under OnGameModeInit? check it.


Re: Map cods fail need to know why!! - YanLanger - 08.10.2014

Where did u put this ?

I think u need undergamemodinit :P


Re: Map cods fail need to know why!! - Ryz - 08.10.2014

yes they are under gamemodeinit


Re: Map cods fail need to know why!! - ZaBraNjeNi - 08.10.2014

How much objects you have in server?


Re: Map cods fail need to know why!! - Ryz - 08.10.2014

Quote:
Originally Posted by ZaBraNjeNi
Посмотреть сообщение
How much objects you have in server?
2982 total.


Re: Map cods fail need to know why!! - ZaBraNjeNi - 08.10.2014

You need to use "CreateDynamicObject".
With "CreateObject" you can make just about (I mean 1000 objects), but with "CreateDynamicObject" you can make too much.
And use the latest Streamer version.


Re: Map cods fail need to know why!! - Ryz - 08.10.2014

not fixed idk what happned with this small .... anyway look

NEW CODS

pawn Код:
CreateDynamicObject(3928, 338.74686, 1513.15320, -497.62003,   0.00000, 0.00000, -90.00000);
CreateDynamicObject(3928, 314.05927, 1537.82971, -498.92004,   0.00000, 0.00000, -90.00000);
CreateDynamicObject(3928, 285.24905, 1512.98254, -497.94003,   0.00000, 0.00000, -90.00000);
CreateDynamicObject(987, -173.23695, 1704.13684, -452.81253,   0.00000, 0.00000, 91.00000);
CreateDynamicObject(16096, -124.03345, 1725.60608, -450.44324,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(987, -263.59155, 1694.92029, -453.00253,   0.00000, 0.00000, 180.00000);
CreateDynamicObject(987, -275.59567, 1694.96033, -453.00253,   0.00000, 0.00000, 90.00000);
CreateDynamicObject(987, -275.58307, 1706.90540, -453.00253,   0.00000, 0.00000, 90.00000);
CreateDynamicObject(987, -275.44595, 1718.81921, -453.00253,   0.00000, 0.00000, 178.00000);
CreateDynamicObject(987, -287.37695, 1719.24255, -453.00253,   0.00000, 0.00000, 164.00000);
CreateDynamicObject(987, -298.86765, 1722.53601, -453.00253,   0.00000, 0.00000, 158.00000);
CreateDynamicObject(987, -309.93835, 1727.03381, -453.00253,   0.00000, 0.00000, 154.00000);
CreateDynamicObject(987, -320.51584, 1732.25818, -453.00253,   0.00000, 0.00000, 148.00000);
CreateDynamicObject(987, -330.64206, 1738.58752, -453.00253,   0.00000, 0.00000, 138.00000);
CreateDynamicObject(987, -339.54675, 1746.59412, -453.00253,   0.00000, 0.00000, 130.00000);
CreateDynamicObject(987, -347.25476, 1755.77502, -453.00253,   0.00000, 0.00000, 122.00000);
CreateDynamicObject(987, -353.61014, 1765.91614, -453.00253,   0.00000, 0.00000, 118.00000);
CreateDynamicObject(987, -359.23489, 1776.50037, -453.00253,   0.00000, 0.00000, 118.00000);
CreateDynamicObject(987, -364.85794, 1787.07092, -453.00253,   0.00000, 0.00000, 126.00000);
CreateDynamicObject(987, -371.86484, 1796.74670, -453.00253,   0.00000, 0.00000, 134.00000);
CreateDynamicObject(987, -362.30896, 1811.88708, -453.00253,   0.00000, 0.00000, 140.00000);
CreateDynamicObject(987, -354.00409, 1803.29260, -453.00253,   0.00000, 0.00000, 134.00000);
CreateDynamicObject(8149, -306.38831, 1856.82092, -452.58252,   0.00000, 2.00000, -42.00000);



Re: Map cods fail need to know why!! - ZaBraNjeNi - 08.10.2014

I'm had a similar problem, I'm just change "CreateObject" to "CreateDynamicObject" and updated latest version of Streamer, and re-compiling. It's works fine for me.


Re: Map cods fail need to know why!! - Rudy_ - 08.10.2014

Quote:
Originally Posted by Ryz
Посмотреть сообщение
not fixed idk what happned with this small .... anyway look

NEW CODS

pawn Код:
CreateDynamicObject(3928, 338.74686, 1513.15320, -497.62003,   0.00000, 0.00000, -90.00000);
CreateDynamicObject(3928, 314.05927, 1537.82971, -498.92004,   0.00000, 0.00000, -90.00000);
CreateDynamicObject(3928, 285.24905, 1512.98254, -497.94003,   0.00000, 0.00000, -90.00000);
CreateDynamicObject(987, -173.23695, 1704.13684, -452.81253,   0.00000, 0.00000, 91.00000);
CreateDynamicObject(16096, -124.03345, 1725.60608, -450.44324,   0.00000, 0.00000, 0.00000);
CreateDynamicObject(987, -263.59155, 1694.92029, -453.00253,   0.00000, 0.00000, 180.00000);
CreateDynamicObject(987, -275.59567, 1694.96033, -453.00253,   0.00000, 0.00000, 90.00000);
CreateDynamicObject(987, -275.58307, 1706.90540, -453.00253,   0.00000, 0.00000, 90.00000);
CreateDynamicObject(987, -275.44595, 1718.81921, -453.00253,   0.00000, 0.00000, 178.00000);
CreateDynamicObject(987, -287.37695, 1719.24255, -453.00253,   0.00000, 0.00000, 164.00000);
CreateDynamicObject(987, -298.86765, 1722.53601, -453.00253,   0.00000, 0.00000, 158.00000);
CreateDynamicObject(987, -309.93835, 1727.03381, -453.00253,   0.00000, 0.00000, 154.00000);
CreateDynamicObject(987, -320.51584, 1732.25818, -453.00253,   0.00000, 0.00000, 148.00000);
CreateDynamicObject(987, -330.64206, 1738.58752, -453.00253,   0.00000, 0.00000, 138.00000);
CreateDynamicObject(987, -339.54675, 1746.59412, -453.00253,   0.00000, 0.00000, 130.00000);
CreateDynamicObject(987, -347.25476, 1755.77502, -453.00253,   0.00000, 0.00000, 122.00000);
CreateDynamicObject(987, -353.61014, 1765.91614, -453.00253,   0.00000, 0.00000, 118.00000);
CreateDynamicObject(987, -359.23489, 1776.50037, -453.00253,   0.00000, 0.00000, 118.00000);
CreateDynamicObject(987, -364.85794, 1787.07092, -453.00253,   0.00000, 0.00000, 126.00000);
CreateDynamicObject(987, -371.86484, 1796.74670, -453.00253,   0.00000, 0.00000, 134.00000);
CreateDynamicObject(987, -362.30896, 1811.88708, -453.00253,   0.00000, 0.00000, 140.00000);
CreateDynamicObject(987, -354.00409, 1803.29260, -453.00253,   0.00000, 0.00000, 134.00000);
CreateDynamicObject(8149, -306.38831, 1856.82092, -452.58252,   0.00000, 2.00000, -42.00000);
You need streamer, And i'd suggest you to change all your CreateObject to CreateDynamicObject, use this i think this can convert it, else ******

http://convertffs.com/