Vehicles are not loading
#1

So i have scripted vehicles in my GM, but when i start server it says - Number of vehicle models: 0
Reply
#2

The same is with other files which are under OnGameModeInit
Reply
#3

I had a similar problem which was caused due to an include which was defect. The include I had was supposed to grab the string on the license plate of a vehicle. Try to remove a plugin or include and see if OnGameModeInit is loading correctly after that. Also, does the server_log say anything else?
Reply
#4

PHP код:
----------
Loaded log file"server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z-RC5, (C)2005-2014 SA-MP Team

[17:57:13
[
17:57:13Server Plugins
[17:57:13] --------------
[
17:57:13]  Loading pluginmysql
[17:57:13

  > 
MySQL plugin R5 successfully loaded.

[
17:57:13]   Loaded.
[
17:57:13]  Loading pluginsocket
[17:57:13]  Socket plugin v0.1b loaded.
[
17:57:13]   Loaded.
[
17:57:13]  Loading pluginsscanf
[17:57:13

[
17:57:13]  ===============================

[
17:57:13]       sscanf plugin loaded.     

[
17:57:13]          Version:  2.8.1        

[17:57:13]    (c2012 Alex "******" Cole  

[17:57:13]  ===============================

[
17:57:13]   Loaded.
[
17:57:13]  Loading pluginstreamer
[17:57:13

*** 
Streamer Plugin v2.7 by Incognito loaded ***

[
17:57:13]   Loaded.
[
17:57:13]  Loaded 4 plugins.

[
17:57:14
[
17:57:14Filterscripts
[17:57:14] ---------------
[
17:57:14]   Loading filterscript 'Tgarage.amx'...
[
17:57:14]   Loading filterscript 'gm_custmapping.amx'...
[
17:57:14]   Loading filterscript 'buttons.amx'...
[
17:57:14]   Loaded 3 filterscripts.

[
17:57:14]  
[
17:57:14]  
[
17:57:14]  
[
17:57:14]  ======================================= 
[
17:57:14]  |                                     | 
[
17:57:14]  |        YSI version 1.06.0002        
[
17:57:14]  |        By Alex "******" Cole        
[
17:57:14]  |                                     | 
[
17:57:14]  ======================================= 
[
17:57:14]  
[
17:57:14]  
[
17:57:14]  
[
17:57:14onfoot_rate 40  (intread-only)
[
17:57:14incar_rate 40  (intread-only)
[
17:57:14weapon_rate 40  (intread-only)
[
17:57:14Listen server running on port 58000
[17:57:14] [LoadPoints0 points loaded.
[
17:57:14]  
[
17:57:14] -------------------------------------------
[
17:57:14Loading...
[
17:57:14City Life RolePlay copyright Jack Robertson. - 2014
[17:57:14] -------------------------------------------
[
17:57:14]  
[
17:57:14Number of vehicle models0
[17:57:14]  
[
17:57:14]  ========================================== 
[
17:57:14]  |                                        | 
[
17:57:14]  |  new version (v3.09.0684of YSI is  
[
17:57:14]  |            available from:             | 
[
17:57:14]  |                                        | 
[
17:57:14]  |     www.y-less.com/YSI/YSI_1.0.zip     
[
17:57:14]  |                                        | 
[
17:57:14]  | Changelog:                             | 
[
17:57:14]  |                                        | 
[
17:57:14]  |   3.00.0000:                           | 
[
17:57:14]  |                                        | 
[
17:57:14]  |   YSI 3.0 released!  Now includes the  
[
17:57:14]  | "y_text" library for better messages,  | 
[
17:57:14]  | and a reworked "y_classes" library.    | 
[
17:57:14]  | Largely documented here                
[
17:57:14]  | "http://forum.sa-mp.com/showthread.php | 
[17:57:14]  | ?t=321092"
.                            | 
[
17:57:14]  |                                        | 
[
17:57:14]  |   3.01.0002:                           | 
[
17:57:14]  |                                        | 
[
17:57:14]  |   Small fixes to "y_text" and          | 
[
17:57:14]  | "y_classes".                           | 
[
17:57:14]  |                                        | 
[
17:57:14]  |   3.09.0684:                           | 
[
17:57:14]  |                                        | 
[
17:57:14]  |   Reverted to old download location.   | 
[
17:57:14]  | Improved (and fixedversion checks;   | 
[
17:57:14]  | added y_bitmapy_areasy_races,      | 
[
17:57:14]  | y_zonenamesbetter documentation;     | 
[
17:57:14]  | MANY other bug fixes see the github  
[
17:57:14]  | repository for more details:           | 
[
17:57:14]  |                                        | 
[
17:57:14]  ========================================== 
[
17:57:14
And my includes
PHP код:
#include <a_samp>
#include <streamer>
#include <a_zones>
#include <a_mysql>
#include <foreach>
#include <yom_buttons>
#include <djson>
#include <progress>
#include <YSI\y_timers>
#include <ZCMD>
#include <sscanf2>
#include <socket>
#include <Flares>
#include <Cones>
#include <PublicWorks> 
Reply
#5

Firstly you want to update YSI.
Reply
#6

I updated my YSI but still nothing loads

PHP код:
----------
Loaded log file"server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z-RC5, (C)2005-2014 SA-MP Team

[19:20:57
[
19:20:57Server Plugins
[19:20:57] --------------
[
19:20:57]  Loading pluginmysql
[19:20:57

  > 
MySQL plugin R5 successfully loaded.

[
19:20:57]   Loaded.
[
19:20:57]  Loading pluginsocket
[19:20:57]  Socket plugin v0.1b loaded.
[
19:20:57]   Loaded.
[
19:20:57]  Loading pluginsscanf
[19:20:57

[
19:20:57]  ===============================

[
19:20:57]       sscanf plugin loaded.     

[
19:20:57]          Version:  2.8.1        

[19:20:57]    (c2012 Alex "******" Cole  

[19:20:57]  ===============================

[
19:20:57]   Loaded.
[
19:20:57]  Loading pluginstreamer
[19:20:57

*** 
Streamer Plugin v2.7 by Incognito loaded ***

[
19:20:57]   Loaded.
[
19:20:57]  Loaded 4 plugins.

[
19:20:57
[
19:20:57Filterscripts
[19:20:57] ---------------
[
19:20:57]   Loading filterscript 'Tgarage.amx'...
[
19:20:57]   Loading filterscript 'gm_custmapping.amx'...
[
19:20:57]   Loading filterscript 'buttons.amx'...
[
19:20:57]   Loaded 3 filterscripts.

[
19:20:57]  
[
19:20:57]  
[
19:20:57]  
[
19:20:57]  ======================================= 
[
19:20:57]  |                                     | 
[
19:20:57]  |        YSI version 3.09.0684        
[
19:20:57]  |        By Alex "******" Cole        
[
19:20:57]  |                                     | 
[
19:20:57]  ======================================= 
[
19:20:57]  
[
19:20:57]  
[
19:20:57]  
[
19:20:57onfoot_rate 40  (intread-only)
[
19:20:57incar_rate 40  (intread-only)
[
19:20:57weapon_rate 40  (intread-only)
[
19:20:57Listen server running on port 58000
[19:20:58] [LoadPoints0 points loaded.
[
19:20:58]  
[
19:20:58] -------------------------------------------
[
19:20:58Loading...
[
19:20:58City Life RolePlay copyright Jack Robertson. - 2014
[19:20:58] -------------------------------------------
[
19:20:58]  
[
19:20:58Number of vehicle models
Reply
#7

I'm not sure to be honest. Try to unload some includes/filterscripts/plugins and attempt to start it and see if it loads. As I said, this error has happened before and for me it was a defect include.
Reply
#8

How i can know which include have defect?
Reply
#9

None of them are defective,
Solution?
you don't use a stolen script.
Reply
#10

Quote:
Originally Posted by FaZeRs
Посмотреть сообщение
I updated my YSI but still nothing loads

PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3z-RC5, (C)2005-2014 SA-MP Team
[19:20:57
[
19:20:57Server Plugins
[19:20:57] --------------
[
19:20:57]  Loading pluginmysql
[19:20:57
  > 
MySQL plugin R5 successfully loaded.
[
19:20:57]   Loaded.
[
19:20:57]  Loading pluginsocket
[19:20:57]  Socket plugin v0.1b loaded.
[
19:20:57]   Loaded.
[
19:20:57]  Loading pluginsscanf
[19:20:57
[
19:20:57]  ===============================
[
19:20:57]       sscanf plugin loaded.     
[
19:20:57]          Version:  2.8.1        
[19:20:57]    (c2012 Alex "******" Cole  
[19:20:57]  ===============================
[
19:20:57]   Loaded.
[
19:20:57]  Loading pluginstreamer
[19:20:57
*** 
Streamer Plugin v2.7 by Incognito loaded ***
[
19:20:57]   Loaded.
[
19:20:57]  Loaded 4 plugins.
[
19:20:57
[
19:20:57Filterscripts
[19:20:57] ---------------
[
19:20:57]   Loading filterscript 'Tgarage.amx'...
[
19:20:57]   Loading filterscript 'gm_custmapping.amx'...
[
19:20:57]   Loading filterscript 'buttons.amx'...
[
19:20:57]   Loaded 3 filterscripts.
[
19:20:57]  
[
19:20:57]  
[
19:20:57]  
[
19:20:57]  ======================================= 
[
19:20:57]  |                                     | 
[
19:20:57]  |        YSI version 3.09.0684        
[
19:20:57]  |        By Alex "******" Cole        
[
19:20:57]  |                                     | 
[
19:20:57]  ======================================= 
[
19:20:57]  
[
19:20:57]  
[
19:20:57]  
[
19:20:57onfoot_rate 40  (intread-only)
[
19:20:57incar_rate 40  (intread-only)
[
19:20:57weapon_rate 40  (intread-only)
[
19:20:57Listen server running on port 58000
[19:20:58] [LoadPoints0 points loaded.
[
19:20:58]  
[
19:20:58] -------------------------------------------
[
19:20:58Loading...
[
19:20:58City Life RolePlay copyright Jack Robertson. - 2014
[19:20:58] -------------------------------------------
[
19:20:58]  
[
19:20:58Number of vehicle models
After updating YSI, Compile your gamemode again.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)