ULX

Author Topic: Multiplayer Error ( Lua )  (Read 3048 times)

0 Members and 2 Guests are viewing this topic.

Offline Schiaffino

  • Jr. Member
  • **
  • Posts: 88
  • Karma: 1
Multiplayer Error ( Lua )
« on: August 24, 2012, 08:27:46 PM »
hello guys , a few days ago i finally finish the SQLite Level system :D , its working pretty cool ( In Single Player )

but a few minutes ago ... i click on MultiPlayer and everything  crash ... the error ?

ERROR: GAMEMODE:'HUDPaint' Failed: [Umbrella\gamemode\client\hud.lua:270] attempt to index field 'RP_SQL' (a nil value)
E

( well i call the RP_SQL in a shared file ... here:

RP_SQL = {}

but i really don't know how to fix that :( who know how i can fix this error ?

Thanks Ulysses Team !

Offline MrPresident

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 2728
  • Karma: 430
    • |G4P| Gman4President
Re: Multiplayer Error ( Lua )
« Reply #1 on: August 24, 2012, 09:46:20 PM »
What is line 270 in your code?

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given