ItsMods

Full Version: Chat commands
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
In some servers when you type !rules, console writes the rules only for you.
With a mod is it possible to use commands like this. For example, if you write !uav, you will have a uav or !use_medikit and you do the medikit function that you have coded in a gsc.
nice idea, should be possible - No idea how -
Doubt it. There are no chat commands in the game by default - why would they make a function for it then?
Maybe:

if(self sayAll("!uav"));
{
self maps\mp\killstreaks\_killstreaks::giveKillstreak("uav", true);
}

I dont know if its right but if it is Press the Thanks Button hehe!Big Grin
(02-09-2011, 20:11)Lemon Wrote: [ -> ]In some servers when you type !rules, console writes the rules only for you.
With a mod is it possible to use commands like this. For example, if you write !uav, you will have a uav or !use_medikit and you do the medikit function that you have coded in a gsc.

the thing is, is that function is not called from gsc, but from the serversided stuff which can only be set by using the servers rcon. its not called from the gsc because then you would have to get a new gsc everytime you join Big Grin
But if we can use a gsc to say something, why cant we identify a chat from a gsc?
The only problem is: how the hell we can put mods to a server?
depends on if the mod tools supports dedicated servers OR only for private matching
(02-10-2011, 11:18)d0h! Wrote: [ -> ]depends on if the mod tools supports dedicated servers OR only for private matching
But it is not related to gsc right?
you can use some of those alternate rcons to control these messages
(02-10-2011, 11:50)d0h! Wrote: [ -> ]you can use some of those alternate rcons to control these messages
Which has a slow responding time
Pages: 1 2 3