- Initiateur de la discussion
thepsyca
Psychopathe
- Messages
- 2 164
- Score réaction
- 648
- Points
- 365
Bonsoir,
Seulement je n'arrive pas à crée le fichier txt ^^
Code:
util.AddNetworkString( "givemoneyonetime" )
net.Receive("givemoneyonetime", function(len, pl) local LocalSteamID = pl:SteamID() local LocalName = pl:Name() if not file.IsDir("nlf", "DATA") then file.CreateDir("nlf/givemoneyonetime" , "DATA" )
end if not file.Exists("nlf/givemoneyonetime/"..LocalSteamID..".txt", "DATA") then file.Write("nlf/givemoneyonetime/"..LocalSteamID..".txt" , " "..LocalSteamID.." "..LocalName.." ", "DATA") end
end)
Dernière édition: