Mapping doesn't show up for some reason
#1

I used CreateObject / CreateDynamicObject(with Streamer)
No errors what so ever, the map doesn't load in-game (Objects can't be seen)


Code:
Quote:

public OnGameModeInit()
{

CreateDynamicObject(987, -132.14209, -1510.59161, 19.30086, 0.00000, 0.00000, 0.57957);
CreateDynamicObject(987, -144.13196, -1510.44696, 19.30086, 0.00000, 0.00000, 359.22491);
CreateDynamicObject(987, -156.12439, -1510.11737, 19.30086, 0.00000, 0.00000, 359.22491);
CreateDynamicObject(987, -120.06592, -1510.60736, 19.30086, 0.00000, 0.00000, 0.57957);
CreateDynamicObject(987, -108.03748, -1510.49200, 19.30086, 0.00000, 0.00000, 0.57957);
CreateDynamicObject(987, -95.79163, -1510.59650, 19.30083, 0.00000, 0.00000, 286.41718);
CreateDynamicObject(987, -92.38879, -1522.08234, 19.30083, 0.00000, 0.00000, 270.83917);
CreateDynamicObject(987, -92.15222, -1534.03204, 19.30083, 0.00000, 0.00000, 270.83917);
CreateDynamicObject(987, -91.89758, -1558.09149, 19.30083, 0.00000, 0.00000, 270.09814);
CreateDynamicObject(987, -91.95215, -1546.02838, 19.30083, 0.00000, 0.00000, 270.83917);
CreateDynamicObject(987, -91.98596, -1563.49799, 19.30083, 0.00000, 0.00000, 270.09814);
CreateDynamicObject(987, -92.13086, -1574.93707, 19.30083, 0.00000, 0.00000, 180.88339);
CreateDynamicObject(987, -104.06201, -1575.01703, 19.30083, 0.00000, 0.00000, 180.88339);
CreateDynamicObject(987, -116.04187, -1574.81854, 19.30083, 0.00000, 0.00000, 182.72711);
CreateDynamicObject(987, -127.92139, -1575.34552, 19.30083, 0.00000, 0.00000, 180.88339);
CreateDynamicObject(987, -151.82324, -1575.70380, 19.30083, 0.00000, 0.00000, 111.14228);
CreateDynamicObject(987, -139.81885, -1575.34283, 19.30083, 0.00000, 0.00000, 180.88339);
CreateDynamicObject(987, -155.79431, -1564.46075, 19.30083, 0.00000, 0.00000, 91.05630);
CreateDynamicObject(987, -155.99097, -1552.45026, 19.30083, 0.00000, 0.00000, 90.01823);
CreateDynamicObject(987, -155.90466, -1540.46918, 19.30083, 0.00000, 0.00000, 90.01823);
CreateDynamicObject(987, -155.93274, -1528.47223, 19.30083, 0.00000, 0.00000, 90.01823);
CreateDynamicObject(987, -156.03040, -1521.14874, 19.30083, 0.00000, 0.00000, 90.01823);
CreateDynamicObject(8674, -149.92261, -1527.42755, 21.19383, 0.00000, 0.00000, 0.00000);
CreateDynamicObject(8674, -139.92883, -1529.89032, 21.19383, 0.00000, 0.00000, 358.52484);
CreateDynamicObject(8674, -106.56458, -1528.80096, 21.19383, 0.00000, 0.00000, 1.02128);
CreateDynamicObject(8674, -99.41846, -1524.44855, 21.19383, 0.00000, 0.00000, 1.02128);
CreateDynamicObject(8674, -106.96228, -1560.22406, 21.19383, 0.00000, 0.00000, 1.02128);
CreateDynamicObject(8674, -98.92676, -1564.24786, 21.19383, 0.00000, 0.00000, 1.02128);
CreateDynamicObject(8674, -145.21033, -1556.06427, 21.19383, 0.00000, 0.00000, 332.82910);
CreateDynamicObject(8674, -148.75452, -1562.57147, 21.19383, 0.00000, 0.00000, 0.18283);
CreateDynamicObject(3279, -124.36084, -1527.25751, 20.43477, 0.00000, 0.00000, 88.11018);
CreateDynamicObject(3279, -124.26624, -1560.12067, 20.97988, 0.00000, 0.00000, 270.28207);
CreateDynamicObject(987, -130.04736, -1537.23090, 19.30083, 0.00000, 0.00000, 357.93088);
CreateDynamicObject(987, -118.70776, -1550.43488, 19.30083, 0.00000, 0.00000, 179.49469);
CreateDynamicObject(300, 156.12439, 1575.20343, -12.59575, 0.00000, 0.00000, 0.00000);

CreateVehicle(522, 2033.8418, 1343.2822, 10.9549, 0.0000, -1, -1, 100);
}

This is where the map should appear, as I said no errors and the gamemode is still working fine.
Reply
#2

did u add it as filterscript, if u had u need to add it from server.cfg
Reply
#3

Quote:
Originally Posted by Xtra
Посмотреть сообщение
did u add it as filterscript, if u had u need to add it from server.cfg
Nope.
Reply
#4

you directly added them to your gamemode?
if then I don't know why cause I alway add them as filterscripts
Reply
#5

You maybe not compiled your script? or you're running the server with the wrong script.
Reply
#6

PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance 300.0); 
Add the last parameter, 0

Example:
PHP код:
CreateDynamicObject(987, -132.14209, -1510.5916119.300860.000000.000000.579570); 
Rep. if this helped
Reply
#7

Quote:
Originally Posted by mongi
Посмотреть сообщение
PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance 300.0); 
Add the last parameter, 0

Example:
PHP код:
CreateDynamicObject(987, -132.14209, -1510.5916119.300860.000000.000000.579570); 
Do you see any problem with mine?
Reply
#8

Quote:
Originally Posted by xMoBi
Посмотреть сообщение
You maybe not compiled your script? or you're running the server with the wrong
script
No, I tested this multiple times.
I get 0 errors + 0 warnings - yet none of the maps appear in game.
Reply
#9

you should make it a filterscript or you need to compile with latest streamer
Reply
#10

Quote:
Originally Posted by mongi
Посмотреть сообщение
PHP код:
CreateDynamicObject(modelidFloat:xFloat:yFloat:zFloat:rxFloat:ryFloat:rzworldid = -1interiorid = -1playerid = -1Float:streamdistance 300.0); 
Add the last parameter, 0

Example:
PHP код:
CreateDynamicObject(987, -132.14209, -1510.5916119.300860.000000.000000.579570); 
Rep. if this helped
Nope, nothing...
I'm using Map Construction it generates the codes by it self, so I don't think it has something to do with this.^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)