BUG AIDEZ MOI

  • Initiateur de la discussion
D

Drystan1911

Bambi
Messages
34
Score réaction
0
Points
30
Bonjour/Bonsoir l'addons ne veut pas donner d'xp.
La console me dit :

[ERROR] A runtime error has occurred in "addons/darkrp_leveling_system/lua/darkrp_modules/levels/sv_data.lua" on line 14.
The best help I can give you is this:

Warning! DarkRPVar 'xp' wasn't registered!
Please contact the author of the DarkRP Addon to fix this.
Until this is fixed you don't need to worry about anything. Everything will keep working.
It's just that registering DarkRPVars would make DarkRP faster.

ET la console me dit :

[ERROR] A runtime error has occurred in "addons/darkrp_leveling_system/lua/darkrp_modules/levels/sv_data.lua" on line 14.
The best help I can give you is this:

Warning! DarkRPVar 'level' wasn't registered!
Please contact the author of the DarkRP Addon to fix this.
Until this is fixed you don't need to worry about anything. Everything will keep working.
It's just that registering DarkRPVars would make DarkRP faster.



Voici la ligne de code de 1 à 15 :

function DarkRPInit()
MySQLite.query([[CREATE TABLE IF NOT EXISTS darkrp_levels(
uid VARCHAR(32) NOT NULL,
level int NOT NULL,
xp int NOT NULL,
UNIQUE(uid)
);
]])
end
hook.Add("DarkRPDBInitialized", "manolis:MVLevels:DarkRPDBInitializedBB", DarkRPInit)

function DarkRP.retrievePlayerLevelXP(ply, callback)
MySQLite.query("SELECT level,xp FROM darkrp_levels WHERE uid = ".. MySQLite.SQLStr(ply:UniqueID())..";", function(r)callback(r)end)
end

Pouvez vous m'aidez ? S'il vous plait.
 
Discord d'entraide
Rejoignz-nous sur Discord