Ulysses
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Ulysses
»
General
»
Developers Corner
»
Simple Question
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Simple Question (Read 3277 times)
0 Members and 1 Guest are viewing this topic.
Janjakob2000
Jr. Member
Posts: 65
Karma: 0
Simple Question
«
on:
July 15, 2015, 10:08:24 AM »
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?
Logged
MrPresident
Ulysses Team Member
Hero Member
Posts: 2728
Karma: 430
Re: Simple Question
«
Reply #1 on:
July 15, 2015, 12:20:51 PM »
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
Logged
Janjakob2000
Jr. Member
Posts: 65
Karma: 0
Re: Simple Question
«
Reply #2 on:
July 16, 2015, 05:20:03 AM »
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?
Logged
Zmaster
Full Member
Posts: 235
Karma: 25
Re: Simple Question
«
Reply #3 on:
July 16, 2015, 08:46:41 AM »
Use it's cousin
http://wiki.garrysmod.com/page/Player/PrintMessage
Logged
(Working) Grim Reaper Playermodel
Server "Hopper" + Platform
911 Reports for DarkRP
SimpleCommands
An Error Has Occurred!
array_keys(): Argument #1 ($array) must be of type array, null given
Back