[Help] Gamemode loads until GameModeInit
#1

Heey all
devloping my GM (RP) everything goes well
until i just openend my script compile it, everthing goes fine i open samp-server.exe
it loads no chrash but then ther Come the: Number of Vehicles models loaded: 0
I have around 600 in my GM.
If he cant load my vehicles it means its stops loading until OnGameModeInit.

I proved it, because on the top of OnGameModeInit i placed a print.
But it doesn't print.

http://pastebin.com/f75a51020 << My GM with OnGameModeInit

Can anyone tell me what is wrong?
Oxside
Reply
#2

But you can play the gamemode?
Reply
#3

Quote:
Originally Posted by Oxside
it loads no chrash but then ther Come the: Number of Vehicles models loaded: 0
I have around 600 in my GM.
Just for your information; numbers of vehicle models are not the amount of vehicles, but the amount of different vehicle models.
If you've got 200 "Sultan" and 10 "Elegy", you'll have 2 vehicle models.

Well, maybe It lags, do you have alot of timers or something?
Reply
#4

Код:
Vehicles();
Reply
#5

Quote:
Originally Posted by WackoX
Код:
Vehicles();
That calls a function wich (I assume) spawn all the vehicles.

It should not matter, since this is after where he placed the print, to check If OnGameModeInit is called.
Reply
#6

Quote:
Originally Posted by mavtias
Quote:
Originally Posted by WackoX
Код:
Vehicles();
That calls a function wich (I assume) spawn all the vehicles.

It should not matter, since this is after where he placed the print, to check If OnGameModeInit is called.
Okay well then, try to run your gamemode without filterscripts or plugins, after that check your includes.
Reply
#7

Thank you all for reactions but i says 0 vehicle models loaded but i have a lot diffrent vehicles.
I already run it without Filterscript + Plugins.
Vehicles(); Call the vehicles because i dont want a long list at the top of my GM. << Has worked before

When i play it connects. It shows me class selection i dont see CJ (Which should) ot show ClassSelection at the wrong place.
I click spawn, i fall through the ground and i spawn in a small city.. I got some timers (See forwards) but GF has lots more and it works so it shouldn't matter.

The problem must be in or above the OnGameModeInit because when i a print function in OnGameModeInit it doesn't show
Reply
#8

Well, OnGameModeInit is like the first thing that's called when you start your server...
Reply
#9

I know and its at the top of the script
Reply
#10

Quote:
Originally Posted by [ЉǾǖŦĦЗŁΛẄ
~ [HellFire] ]
Comment everything in OnGameModeInit except the print thing you put, then we might be a little closer to figuring it out
If the print doesn't show up OnGameModeInit, why would it appear after removing everything after the print?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)