Jump to content

Race resource went wrong?


.:HyPeX:.

Recommended Posts

Hello guys, i've got an issue, apparently the race_client is trying to call 'table.create' from utils_client and the function appears to not be loaded (Even thought the race meta specifys that race_client is loaded after)

Only change i did to the race (Before it was working perfectly) was adding some extra things to the race_client, wich do not interfer with the race itself, but still are a lot of lines. (I dont belive a bigger file will cause issues, but who knows if it is?)

I tried making it start on resource start instead of direct code, but another error appears and the countdown never starts.

(I'm set as not ready)

  
addEventHandler('onClientResourceStart',resourceRoot,function() 
g_ArmedVehicleIDs = table.create({ 425, 447, 520, 430, 464, 432 }, true) 
g_WaterCraftIDs = table.create({ 539, 460, 417, 447, 472, 473, 493, 595, 484, 430, 453, 452, 446, 454 }, true) 
end) 

The errors are:

- Start spamming error "isPlayerRaceDead (a nil value)" <- The function IS there...

- Then spams the previous error + "isPlayerFinished (a nil value)" <- Function exists aswell...

Greetz

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...