Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RecupererInterventionSniper.DoClick = function()
- if ply:isCP() then
- notification.AddLegacy( "Vous venez de récuperer votre équipement de d'intervention sniper" , NOTIFY_GENERIC, 2 )
- surface.PlaySound( "buttons/button15.wav" )
- net.Start("interventionsniper")
- net.SendToServer()
- ALRPArmurierPoliceFrame:Remove()
- else
- notification.AddLegacy( "Vous n'êtes pas un membre des forces de l'ordres", NOTIFY_ERROR, 5 )
- surface.PlaySound( "buttons/blip1.wav" )
- ALRPArmurierPoliceFrame:Remove()
- elseif LocalPlayer():getDarkRPVar("money") > 5000 then
- notification.AddLegacy( "Vous n'avez pas assez d'argent il vous faut 5.000 €", NOTIFY_ERROR, 5 )
- surface.PlaySound( "buttons/blip1.wav" )
- ALRPArmurierPoliceFrame:Remove()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement