Torrents Stats
- Partagées
- 130 Go
- Téléchargées
- 0 bytes
- Ratio
- -
- Messages
- 174
- J'aime
- 88
- Trophées
- 23
- Inscrit
- 21 Février 2016
Bonjour,
J'ai des problèmes LUA tel que:
merci de votre aide
J'ai des problèmes LUA tel que:
[DarkRP] gamemodes/darkrp/gamemode/modules/fadmin/fadmin/access/cl_init.lua:259: attempt to index field 'user' (a nil value)
1. DoClick - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/access/cl_init.lua:259
2. unknown - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/cl_interface/cl_controls.lua:301
1. DoClick - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/access/cl_init.lua:259
2. unknown - gamemodes/darkrp/gamemode/modules/fadmin/fadmin/cl_interface/cl_controls.lua:301
Code:
cl_controls.lua:301 (ligne 297 a 302:
function PANEL6:OnMouseReleased(mouse)
self.m_Image:SetSize(32,32)
self.m_Image:SetPos(4,4)
self.Depressed = false
self:DoClick()
end
Code:
cl_init.lua:259 (ligne 255 a 263):
nmbrImmunity = vgui.Create("DTextEntry", frame)
nmbrImmunity:SetPos(545, 28)
nmbrImmunity:SetWide(90)
nmbrImmunity:SetNumeric(true)
nmbrImmunity:SetText(FAdmin.Access.Groups.user.immunity)
nmbrImmunity:SetDisabled(true)
nmbrImmunity:SetEditable(false)
nmbrImmunity.OnEnter = function(self) RunConsoleCommand("FAdmin", "SetImmunity", SelectedGroup:GetValue(), self:GetValue()) end
end
merci de votre aide