Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
2. To begin with just myaddon/lua/autorun and throw your Lua files in there
3. Console commands - https://wiki.garrysmod.com/page/concommand/Add
Chat commands - https://wiki.garrysmod.com/page/GM/PlayerSay
Checkout Code Blue on YouTube as he covers the basics well
https://www.youtube.com/channel/UCFpuE-Qjn4EWqX-VJ_l7pbw
1: aliright good, but how do i change that number, like SetValue or something
2: I tried putting them in there, but nothing has worked from it. i tried putting one funtion script in there that prints your ip in the server console when you respawn, but i cant get it to work. tried /lua, tried /lua/autorun and tried /lua/autorun/server
3:Ive seen the chat command in code blues tutorials and on the wiki, but how can i make a command that targets a player. i tried extracting ulx to look for chat commands code, but i couldnt find it
4: i actuly learned glua in one night while working on a map from that guy, he does make amazing tutorials.
i tried to make one in console too, but what im wondering is how do i tell the game that !kill (string) means kill whatever they typed in the string
i do appreciate the help though!
i dont think this would work. sounded better in my head, but maybe
-- It's really not hard to scroll down in the wiki to see examples like the one below.
The calling player? If so I already showed you how to do that in my above post.
EDIT:
[ERROR] lua/uwot.lua:5: 'end' expected near 'ply'
ill fix that
another edit
few more errors, ez fix
this one is odd, [ERROR] lua/uwot.lua:14: ')' expected (to close '(' at line 1) near 'end'
but line one has no end. maybe its refrencing the end to close line 1?