• Lunch a file in game ?
    14 replies, posted
Hi all, just i have a little question, i want lunch a file when the players are in the server, "resource.AddFile( "linktomyfile" )" but i don't know the command how to lunch the file ?
-snip-
mmmmm Exemple if i have a .mp3, how to launch ?
-snip- Stupid FP.
You can't. Not without a module.
Clientside: [url=http://wiki.garrysmod.com/?title=Surface.PlaySound]surface.PlaySound[/url].
ok, i must make a name.lua and put this .lua where ? [url]ftp://......Autorun/client[/url] ? where i must put the files ?
he don't want launch .exe :s
*facepalm* He told you what you need to do. There's nothing to do with any exe's.
[QUOTE=KenjiX;16896660]i want lunch a file[/QUOTE] Well, it's pretty simple. Just take your file, drag it to Steam/steamapps/<YOURNAME>/garrysmod/garrysmod/YourFace, and OM NOM NOM NOM. I recommend Cookies or Models. Most people don't like the taste of skins, though some .lua files can give you a pretty good trip. </surreal humor>
and if i have a .exe, how to launch tje .exe that the people have download when he go in the server
why do you want to spread viruses over gmod to players?
[QUOTE=KenjiX;16976647]and if i have a .exe, how to launch tje .exe that the people have download when he go in the server[/QUOTE] You can't download binaries to clients.
[QUOTE=KenjiX;16976647]and if i have a .exe, how to launch tje .exe that the people have download when he go in the server[/QUOTE] Fail at trying to spread a virus [img]http://i129.photobucket.com/albums/p222/the_x-phile/ObviousTroll.jpg[/img]
Sorry, you need to Log In to post a reply to this thread.