General > Developers Corner

Simple Question

(1/3) > >>

Janjakob2000:
If I were to make a command called !donate and takes you to https://google.com for example, and I want it to say in chat:
 "You can blablablabla" ect, how would I do this?

MrPresident:
http://forums.ulyssesmod.net/index.php/topic,7841.0.html
http://forums.ulyssesmod.net/index.php/topic,5637.msg25802.html#msg25802

As for making it print a message, try this:
http://wiki.garrysmod.com/page/Global/PrintMessage

Janjakob2000:
And if I were to make only for the client, so only he/she sees the message when typing !donate in the chat box, how would I be doing that?

Zmaster:
Use it's cousin
http://wiki.garrysmod.com/page/Player/PrintMessage

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version