Number of vehicle models: 0 - 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: Number of vehicle models: 0 (
/showthread.php?tid=634382)
Number of vehicle models: 0 -
AlexuTzVs - 18.05.2017
Hello sa-mp.com users. I recently start scripting again after a break on my old GM and i found this strange bug that when i start the server it's showing Number of vehicle models: 0 and when i enter the server it spawns me at BlueBerry coordinates 0,0,0 and i don't know why. I can't give me weapons/money/cars in game, when i type the command nothing happens. I want your advice in what i should check first. The server is on MySQL and i created a database using xampp. I have to mention that i have no mysql.log issues, no serverlog.txt issues. and the gamemode compiles with no problems. I really want to know what can make this issue happens. Have a nice day.
Re: Number of vehicle models: 0 -
Abagail - 18.05.2017
Your gamemode is likely not properly initializing (gamemode text probably shows as "Unknown" in the client). This is possibly due to a needed plugin not loading, you should add the Nativechecker plugin and check your server logs after running the server.
https://sampforum.blast.hk/showthread.php?tid=249226
Re: Number of vehicle models: 0 -
AlexuTzVs - 18.05.2017
It's showing the gamemode text corectly, the objects are properly loaded, the turfs also the minimap icons/ pickups are loaded, i can use the command /fly to enter the fly mode and i checked that. The cars are not showing, i can't teleport and it's spawing me in blueberry
Edit: I used nativechecker and it gave me some unusual errors
Edit2: This is the log
Код:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team
[04:08:13] filterscripts = "" (string)
[04:08:13]
[04:08:13] Server Plugins
[04:08:13] --------------
[04:08:13] Loading plugin: sscanf
[04:08:13]
[04:08:13] ===============================
[04:08:13] sscanf plugin loaded.
[04:08:13] Version: 2.8.1
[04:08:13] © 2012 Alex "******" Cole
[04:08:13] ===============================
[04:08:13] Loaded.
[04:08:13] Loading plugin: streamer
[04:08:13]
*** Streamer Plugin v2.7.9 by Incognito loaded ***
[04:08:13] Loaded.
[04:08:13] Loading plugin: mysql
[04:08:13] >> plugin.mysql: R39-3 successfully loaded.
[04:08:13] Loaded.
[04:08:13] Loading plugin: nativechecker
[04:08:13] Loaded.
[04:08:13] Loaded 4 plugins.
[04:08:13]
[04:08:13] Ban list
[04:08:13] --------
[04:08:13] Loaded: samp.ban
[04:08:13]
[04:08:13]
[04:08:13] Filterscripts
[04:08:13] ---------------
[04:08:13] Loaded 0 filterscripts.
[04:08:13] Turfs: 48
[04:08:13] [Graffiti Script]: 17 graffiti loaded.
[04:08:13] [Furniture Script]: 0 objects loaded.
[04:08:13] [MySQL - SafeZone]: 15 loaded...
[04:08:13] -mSelection- WARNING: Failed to load list: "furnitures.txt"
[04:08:13] 1858 - Objects.
[04:08:13] 17 - Pickups.
[04:08:13] OnGameModeInit Loaded
[04:08:13] Script Loaded - Alex. RPG GFHUSI
[04:08:13] Number of vehicle models: 0
[04:08:13] Houses: 100
[04:08:13] Bussines: 54
[04:08:13] Dynamic Factions: 14
[04:08:13] Clans: 1
[04:08:13] Cars: 0
[04:08:13] Stocks: 101
Re: Number of vehicle models: 0 -
AlexuTzVs - 18.05.2017
https://*********/F4syXarMtHE
Edit:
https://www.youtube.com/watch?v=S9Rf...ature=*********
This is a video that explain what happens, i also saw when i went in game that the pickups are not spawning aswell.
Re: Number of vehicle models: 0 -
DobbysGamertag - 18.05.2017
Looks like you need to re-download and recompile your mode(s) with the up to date stuff.
Re: Number of vehicle models: 0 -
AlexuTzVs - 18.05.2017
The gamemode is made by myself and last time i worked on it was in 15/11/2016 and it's up to date with 0.3.7 and all the includes and plugins updated
Re: Number of vehicle models: 0 -
coool - 18.05.2017
Quote:
Originally Posted by AlexuTzVs
The gamemode is made by myself and last time i worked on it was in 15/11/2016 and it's up to date with 0.3.7 and all the includes and plugins updated
|
This can be the main problem you just have updated the include and plugin but not the code. OR maybe the plugin's version should not be the same as plugin's
Re: Number of vehicle models: 0 -
AlexuTzVs - 18.05.2017
If i try to start an older version of the gamemode that i have saved in computer it works perfectly but when i come back to the original it doesn't work.