• DarkRP Custom Shipment Lua Error
    2 replies, posted
- Whenever I try making a shipment using this format, I always get this lua error, help! [B]There is 1 Lua problem! Please check your console for more information! [ERROR] Lua is unable to understand file "darkrp_customthings/shipments.lua" because its author made a mistake around line number 27. The best help I can give you is this: Right before the ',', Lua encountered something it could not make sense of. Hints: - Did you forget something here? (Perhaps a closing bracket) - Is it a typo? ------- End of Simplerr error -------[/B] DarkRP.createShipment("AK47", { model = "m9k_ak47", entity = "weapon_m9k_ak47", price = 15000, amount = 10, separate = false, pricesep = , noship = false, -- CustomCheck })
what is at line 27 ._. [editline]10th August 2016[/editline] DarkRP.createShipment("AK47", { model = "weapon_m9k_ak47", entity = "m9k_ak47", price = 15000, amount = 10, separate = false, pricesep = 1500, noship = false, -- CustomCheck }) guessing Line 27 is "pricesep = ," so doing 3rd grade math i fixed it i think meh
[QUOTE=WeeabooGamer;50858780]what is at line 27 ._. [editline]10th August 2016[/editline] DarkRP.createShipment("AK47", { model = "weapon_m9k_ak47", entity = "m9k_ak47", price = 15000, amount = 10, separate = false, pricesep = 1500, noship = false, -- CustomCheck }) guessing Line 27 is "pricesep = ," so doing 3rd grade math i fixed it i think meh[/QUOTE] Ok, thanks Ill try it. [editline]14th August 2016[/editline] [QUOTE=WeeabooGamer;50858780]what is at line 27 ._. [editline]10th August 2016[/editline] DarkRP.createShipment("AK47", { model = "weapon_m9k_ak47", entity = "m9k_ak47", price = 15000, amount = 10, separate = false, pricesep = 1500, noship = false, -- CustomCheck }) guessing Line 27 is "pricesep = ," so doing 3rd grade math i fixed it i think meh[/QUOTE] Thanks man, it worked! Cheers :)
Sorry, you need to Log In to post a reply to this thread.