SA-MP Forums Archive
Run time error 20 - 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: Run time error 20 (/showthread.php?tid=356196)



Run time error 20 - Guitar - 02.07.2012

Код:
SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[20:50:09] 
[20:50:09] Server Plugins
[20:50:09] --------------
[20:50:09]  Loaded 0 plugins.

[20:50:10] 
[20:50:10] Filterscripts
[20:50:10] ---------------
[20:50:10]   Loading filterscript 'gl_actions.amx'...
[20:50:10]   Loading filterscript 'gl_property.amx'...
[20:50:10] 
-----------------------------------
[20:50:10] Grand Larceny Property Filterscript		
[20:50:10] -----------------------------------

[20:50:10]   Loading filterscript 'gl_realtime.amx'...
[20:50:10]   Loading filterscript 'gl_mapicon.amx'...
[20:50:10]   Loading filterscript 'ls_elevator.amx'...
[20:50:10]   Loading filterscript 'test_cmds.amx'...
[20:50:10]   Loading filterscript 'ls_mall.amx'...
[20:50:10]   Loading filterscript 'attachments.amx'...
[20:50:10]   Loaded 8 filterscripts.

[20:50:10]  
[20:50:10]  ======================================= 
[20:50:10]  |                                     | 
[20:50:10]  |        YSI version 1.04.0000        | 
[20:50:10]  |        By Alex "******" Cole        | 
[20:50:10]  |                                     | 
[20:50:10]  ======================================= 
[20:50:10]  
[20:50:10] Reading File: blank
[20:50:10] Reading File: properties/houses.txt
[20:50:10] Reading File: properties/businesses.txt
[20:50:10] Reading File: properties/banks.txt
[20:50:10] Reading File: properties/police.txt
[20:50:10] Script[gamemodes/new.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[20:50:10] Number of vehicle models: 0
What's up?


Re: Run time error 20 - Vince - 02.07.2012

Your gamemode must have
pawn Код:
main() {}
somewhere in the script. It can be left empty, but it must be there.


Re: Run time error 20 - ZBits - 06.07.2012

if you use sscanf in any of of the server script make sure you have the same verison.