Run time error 20
#1

Код:
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?
Reply
#2

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)