Objects 0 in server, but code says other... -
PaskaV - 16.01.2016
Hey guys, i create one server on host, and objects dissapear, server log says:
PHP код:
[23:08:08] CreateObject: 3
[23:08:08] CreateDynamicObject: 5.194
[23:08:08] Number of vehicle models: 47
Please help me out from this problem, thank you very much
Picture from server:
http://imgur.com/Zw3BXl4
best regards, pashka
Re: Objects 0 in server, but code says other... -
PaskaV - 16.01.2016
someone?
Re: Objects 0 in server, but code says other... -
Sew_Sumi - 16.01.2016
Show the code of where you are creating some of the objects.
Re: Objects 0 in server, but code says other... -
radiobizza - 16.01.2016
you put the RemoveBuildingForPlayer in OnGameModeInit ?
Re: Objects 0 in server, but code says other... -
PaskaV - 16.01.2016
OnGameModeInit:
LoadObject();
"data/mapp.pwn"
Re: Objects 0 in server, but code says other... -
PaskaV - 16.01.2016
Quote:
Originally Posted by radiobizza
you put the RemoveBuildingForPlayer in OnGameModeInit ?
|
OnPlayerConnect, but remove is okey, but objects...
Re: Objects 0 in server, but code says other... -
lucamsx - 16.01.2016
Can we see LoadObject?
also i don't think you can load objects from pwn files. Load it from a .txt file, like vehicles from "vehicles" folder. No function, only parameters.
Re: Objects 0 in server, but code says other... -
PaskaV - 16.01.2016
stock LoadObjects()
{
CreateDynamicObject....
}
Re: Objects 0 in server, but code says other... -
Sew_Sumi - 16.01.2016
Quote:
Originally Posted by PaskaV
stock LoadObjects()
{
CreateDynamicObject....
}
|
If you want help, SHOW THE CODE....
Damnit... You put up the Function, and skip the rest...
Quote:
Originally Posted by lucamsx
also i don't think you can load objects from pwn files. Load it from a .txt file, like vehicles from "vehicles" folder. No function, only parameters.
|
That's totally incorrect.
Re: Objects 0 in server, but code says other... -
PaskaV - 16.01.2016
http://pastebin.com/H1hLrUyp