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=520835)



Run Time Error 20 - Jigsaw123 - 20.06.2014

Hello,

I've gotten the LuxAdmin Filterscript and switched the OnFilterScriptInit to OnGameModeInit etc.. It compiles without any errors but when i start it, It gives me this error in the server log:


Код:
 ___________________________________________________
[16:02:49]  
[16:02:49]                    L.A.S v1.6 Beta                         
[16:02:49]                  ---------------
[16:02:49]              LuX Administration System               
[16:02:49]  ___________________________________________________

[16:02:49]  -> Loading...
[16:02:49] 
 -Current Configurations Successfully Loaded!
[16:02:49] 

[16:02:49]  -> L.A.S Basic Loaded Configurations:

[16:02:49]  AutoLogin:    [Enabled!]  ReadCmds:  [Enabled!]
[16:02:49]  AntiSwear:    [Disabled]  AntiSpam:  [Enabled!]
[16:02:49]  NameKick:     [Enabled!]  AntiBot:   [Enabled!]
[16:02:49]  ConnectMsgs:  [Enabled!]  NoCaps:    [Disabled]
[16:02:49]  AdminCmdMsgs: [Enabled!]  Anti Ads:  [Enabled!]
[16:02:49]  SaveMoney:    [Enabled!]  MustLogin  [Enabled!]
[16:02:49]  Forbid Weaps: [Disabled]  AdmSkins:  [Disabled]
[16:02:49]  ReadPms:      [Enabled!]  MaxLevel:  [10]
[16:02:49]  SaveWeaps     [Enabled!]  Max Ping:  [0ms]
[16:02:49]  ChatDisabled: [Disabled]  MuteWarns: [4]
[16:02:49]  MustRegister: [Enabled!]  AdmSkins   [217, 214]

[16:02:49]  -> Loaded Successfully!

[16:02:49]  Date: 20/6/2014 - Time: 16:2:49
[16:02:49]  ___________________________________________________

[16:02:49] Script[gamemodes/WU-RP.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
[16:02:49] Number of vehicle models: 0



Re: Run Time Error 20 - Threshold - 20.06.2014

Add this above OnGameModeInit():
pawn Код:
main() return 1;
Click this link for future reference: http://*******/WFu1Z5


Re: Run Time Error 20 - Dziugsas - 20.06.2014

You are missing some plugins.


Re: Run Time Error 20 - NaClchemistryK - 20.06.2014

Quote:
Originally Posted by Dziugsas
ПоÑмотреть Ñообщение
You are missing some plugins.
That's sometimes the case when it's RunTime error 19. This RunTime error 20. I think the values 19 and 20 are swapped in your brain 111!!ONEONE