Jump to content

[HELP] Dayz errors:


s1mple

Recommended Posts

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

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...