s1mple Posted March 14, 2016 Posted March 14, 2016 WARNING: [DayZ-MTA]\DayZ\login.lua:468: Bad argument @ 'getAccountData' [Expected account at argument 1, got boolean] http://prntscr.com/af6776 IMAGE How to fix it?
s1mple Posted March 15, 2016 Author Posted March 15, 2016 function createVehicleOnServerStart() local vehicleManager = getAccount("getAccountsBySerial","ds4f9$") for i = 1, (getAccountData(vehicleManager,"getAccountsBySerial") or 0) do wastedVehicle = false vehicle = getAccount("vehicle_number_"..i,"ds4f9$") if not vehicle then break end if getAccountData(vehicle,"isExploded") == true then setAccountData(vehicle,"health",1000) wastedVehicle = true end I post full functioni but for i = 1, (getAccountData(vehicleManager,"getAccountsBySerial") or 0) do wastedVehicle = false have problem
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now