• Permanent Weapons
    9 replies, posted
I want to make something that can make it so if you have the certain steamid you have weapons, pretty much a perma weapon for player. So people can donate for custom weapons. If you can help me will the code please just reply to this thread :smile:
[QUOTE='[FSG] ToXiiC;49768976']I want to make something that can make it so if you have the certain steamid you have weapons, pretty much a perma weapon for player. So people can donate for custom weapons. If you can help me will the code please just reply to this thread :smile:[/QUOTE] provide more information
[QUOTE=Percipience;49768984]provide more information[/QUOTE] I saw something a while ago, the code was like "{STEAMID}" = "superadmin" I want something like this just instead of a rank, i want weapons
[url]https://wiki.garrysmod.com/page/GM/PlayerSpawn[/url]
Well these should point you in the right direction atleast. [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/PlayerSpawn]GM/PlayerSpawn[/url] [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/Give]Player:Give[/url] [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/SteamID]Player:SteamID[/url] You will probably want to create some kind of file where you can store who has permanent weapons so you will need to use these ([url]https://wiki.garrysmod.com/page/Category:file[/url]) for that. Be aware no one is going to write code for free, especially when you haven't attempted it yourself.
Boxvader has the answer. I created one of these as my first addon in lua. You'll want to look at [url]https://wiki.garrysmod.com/page/file/Read[/url] as Boxvader said to list the steam id's that should be given the weapons. Out of curiosity Boxvader - how do you make those wiki links look like that? I see it all the time.
[QUOTE=Semajnad;49769127]Boxvader has the answer. I created one of these as my first addon in lua. You'll want to look at [url]https://wiki.garrysmod.com/page/file/Read[/url] as Boxvader said to list the steam id's that should be given the weapons. Out of curiosity Boxvader - how do you make those wiki links look like that? I see it all the time.[/QUOTE] Click the little link button next to the square that is either blue, oragne, or mixed. Then copy and paste what pops up in the box. It should look like this [CODE] [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/PlayerSpawn]GM/PlayerSpawn[/url] [/CODE]
[QUOTE=boxvader;49769146]Click the little link button next to the square that is either blue, oragne, or mixed. Then copy and paste what pops up in the box. It should look like this [CODE] [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/PlayerSpawn]GM/PlayerSpawn[/url] [/CODE][/QUOTE] Wow, never saw that :) Thanks a lot. I assumed it was a Facepunch feature
Use the addon URS you can find on the workshop
[QUOTE=Athods;49769245]Use the addon URS you can find on the workshop[/QUOTE] That is for ULX ranks... :goodjob:
Sorry, you need to Log In to post a reply to this thread.