• Salut Visiteur ! ✌
    Découvre nos partenaires officiels avec VeryLeak's. Des choix réfléchis, dignes de confiance pour tes avantages.

    StoryFound | REFUNDER TEAM

    StoryFound

    Rejoindre le Canal ✨ ou Plus d'information 📃

    Une question ? Rejoingnez nos différents canaux (Discord, Telegram, Revolt)

    Nos Canaux Communautaires

    Cet affichage peut se clôturer définitivement via la croix en haut à droite.

Erreur Dark RP Besoin d'aide

MOSALAH25

Master 🏆
Level 1

Torrents Stats

Messages
87
J'aime
9
Trophées
181
Inscrit
21 Octobre 2018
Bonjour, j'ai un bug sur mon serveur, aucune notif de changement de métier / mort du maire etc... ne s'affichent, quelqu'un saurait m'aider ? Merci ^^
 

Mr.ionut

l'Accru 🥇
Level 1

Torrents Stats

Messages
41
J'aime
5
Trophées
128
Inscrit
8 Avril 2018
Bonjour, j'ai un bug sur mon serveur, aucune notif de changement de métier / mort du maire etc... ne s'affichent, quelqu'un saurait m'aider ? Merci ^^
Oui c'est à cause de ton HUD. Tu dois aller dans ton hud et de mettre a la fin cette ligne

hook.Add("PlayerSwitchWeapon", "MHUDPlayerSwitchWeapon", function(ply, oldWeapon, newWeapon)
local class = newWeapon:GetClass()
MHUD:SetVisible(class != "gmod_camera")
end)
local function DisplayNotify(msg)
local txt = msg:ReadString()
GAMEMODE:AddNotify(txt, msg:ReadShort(), msg:ReadLong())
surface.PlaySound("buttons/lightswitch2.wav")
MsgC(Color(255, 20, 20, 255), "[DarkRP] ", Color(200, 200, 200, 255), txt, "\n")
end
usermessage.Hook("_Notify", DisplayNotify)
 

Mr.ionut

l'Accru 🥇
Level 1

Torrents Stats

Messages
41
J'aime
5
Trophées
128
Inscrit
8 Avril 2018
Ou il y a le smile c'est D : mais colle
 

TupacAmaruShakur

Nouveau 🌱
Level 1

Torrents Stats

Messages
8
J'aime
0
Trophées
3
Inscrit
25 Décembre 2018
Oui c'est à cause de ton HUD. Tu dois aller dans ton hud et de mettre a la fin cette ligne

hook.Add("PlayerSwitchWeapon", "MHUDPlayerSwitchWeapon", function(ply, oldWeapon, newWeapon)
local class = newWeapon:GetClass()
MHUD:SetVisible(class != "gmod_camera")
end)
local function DisplayNotify(msg)
local txt = msg:ReadString()
GAMEMODE:AddNotify(txt, msg:ReadShort(), msg:ReadLong())
surface.PlaySound("buttons/lightswitch2.wav")
MsgC(Color(255, 20, 20, 255), "[DarkRP] ", Color(200, 200, 200, 255), txt, "\n")
end
usermessage.Hook("_Notify", DisplayNotify)

Thank you for posting this I have had this problem too!
 

ni-co-las

Qui je suis ?
Certifié
Level 5

Torrents Stats

Messages
133
J'aime
8 548
Trophées
793
Inscrit
31 Décembre 2017
Résolu ou pas ?
 
Haut Bas