Common Problems

  • If your error is similar to this one:

  • If your error is similar to this one:

Please, delete screenshot-basic, webpack and yarn and install this ones instead: https://drive.google.com/drive/folders/1-rzI52Om5pQku8fPEHqo-XPE7fVQFhEi?usp=drive_link

Start all on server.cfg, screenshot-basic must be the last one of the three resources and then, phone system.

Do exatcly what we describe here, not just skip phases, do not just drop files in and start server, thats not the solution!

Sounds / Musics are not working

Please, be sure you have xsound resource, using this link you can download it directly: https://drive.google.com/drive/folders/1-rzI52Om5pQku8fPEHqo-XPE7fVQFhEi?usp=drive_link

Several errors with some names like this ones: deletePhone or GerirMetodosInput

Just need to start Phone System as last resource.

Valet dont work

To solve this issue (bad argument #1 to 'for iterator') you just need to open main_config.lua file and set to false the Config.DoCarDamageValet.

Error code 2 ( Can be check on F8 console when opening open )

People with this problem are on ESX with OX Inv, to fix this, just ensure your did all modifications needed to your OX Inv resource and dont have any other phone entries excluing ours.

On VRPex, if this error appears, you need to open server_config.lua, find GetVehiclePlates function, locate:

return getUserIdentity(param).registration

Change .registration to your plate field on users sql table, example:

If my plate sql collumn on users table is registro, then shoud look like this:

return getUserIdentity(param).registro

Cant accept calls

Player cant have invalid phone formats like: 55-555-555, just can have numeric chars like: 55512312

Also, if persists, update your PMA Voice ( if you use PMA ): https://drive.google.com/file/d/1VDjOTtPpHnC59YLJesyryjIgOjZmAsf2/view?usp=drive_link

Phone Red Errors

This error just happens on VRPex, is simply to solve it, you need to open server_config.lua file, scroll down till GetFirstName and GetLastName functions and edit the return to your sql collumns.

Default:

if Config.UsingCreative then
    function GetFirstName(SQLRow)
        return SQLRow.name
    end
    
    function GetLastName(SQLRow)
        return SQLRow.name2
    end
else
    function GetFirstName(SQLRow)
        return SQLRow.name
    end
    
    function GetLastName(SQLRow)
        return SQLRow.firstname
    end
end

Example:

After checking my users sql table, i reach to conclusion my collumn of firstname is nome and lastname is apelido, that means my code should be like this:

if Config.UsingCreative then
    function GetFirstName(SQLRow)
        return SQLRow.nome 
    end
    
    function GetLastName(SQLRow)
        return SQLRow.apelido
    end
else
    function GetFirstName(SQLRow)
        return SQLRow.nome 
    end
    
    function GetLastName(SQLRow)
        return SQLRow.apelido
    end
end

Last updated