Objects 0 in server, but code says other...
#1

Hey guys, i create one server on host, and objects dissapear, server log says:

PHP код:
[23:08:08CreateObject3
[23:08:08CreateDynamicObject5.194
[23:08:08Number of vehicle models47 
Please help me out from this problem, thank you very much

Picture from server: http://imgur.com/Zw3BXl4

best regards, pashka
Reply
#2

someone?
Reply
#3

Show the code of where you are creating some of the objects.
Reply
#4

you put the RemoveBuildingForPlayer in OnGameModeInit ?
Reply
#5

OnGameModeInit:

LoadObject();

"data/mapp.pwn"
Reply
#6

Quote:
Originally Posted by radiobizza
Посмотреть сообщение
you put the RemoveBuildingForPlayer in OnGameModeInit ?
OnPlayerConnect, but remove is okey, but objects...
Reply
#7

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.
Reply
#8

stock LoadObjects()
{

CreateDynamicObject....

}
Reply
#9

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.
Reply
#10

http://pastebin.com/H1hLrUyp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)