• GetSteamId And use it + Derma Help
    4 replies, posted
Hey guys recently ive been helping my friend with his server and we have been using bwhitelist but the admins are so tired of having to go and whitelist new ppl to that specific recruit job So ive made a derma menu displaying on players when they join first problem how do i do so it checks if its the first join or not Second thing when a person clicks one of the buttons on the derma panel its suppost to whitelist you using bwhitelist [code]bwhitelist_add_to_whitelist_steamid "(SteamIDHERE)" "Jedi Recruit / Sith Acolyte"[/code] But how do i do so it actually gets the steamid and then uses it like it defines it for that player like in php [code]$SteamID = Steamid[/code] which is then changed by some code As ive never tryed this before i am asking you guys for help
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/]Gmod wiki[/url] [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Player/SteamID]Player:SteamID[/url] [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Global/RunConsoleCommand]RunConsoleCommand[/url]
Forgot to ask how do i do so it detects if its the first time its joined the server
Store their steamid64 & check in PlayerInitialSpawn. You can use sql or text files. [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/file]File Library[/url]
[QUOTE=Invule;50687150]Store their steamid64 & check in PlayerInitialSpawn. You can use sql or text files. [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/file]File Library[/url][/QUOTE] Cookies are more reliable than that imo. [url]http://wiki.garrysmod.com/page/Category:cookie[/url]
Sorry, you need to Log In to post a reply to this thread.