• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Request] Chat commands
#1
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.
  Reply
#2
nice idea, should be possible - No idea how -
--
  Reply
#3
Doubt it. There are no chat commands in the game by default - why would they make a function for it then?
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
  Reply
#4
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
  Reply
#5
(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
  Reply
#6
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?
[Image: wyipjqo9qon7rc2v1lo.jpg]
  Reply
#7
depends on if the mod tools supports dedicated servers OR only for private matching
  Reply
#8
(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?
[Image: wyipjqo9qon7rc2v1lo.jpg]
  Reply
#9
you can use some of those alternate rcons to control these messages
  Reply
#10
(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
[Image: wyipjqo9qon7rc2v1lo.jpg]
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [Request] Need a plugin that hides all ! Admin commands sylvester123 7 4,833 07-27-2013, 13:21
Last Post: Bandarigoda123
  how to remove commands in the chat ExoGamer* 6 3,996 07-20-2013, 09:24
Last Post: Pozzuh
  [Request] Names, Chat and Scoreboard Mibbix 6 4,178 06-21-2013, 22:16
Last Post: Mibbix
  Help Using chat outside in game Bandarigoda123 1 2,823 06-09-2013, 12:46
Last Post: Nekochan
  server commands [HARD] Tony. 0 1,913 06-05-2013, 19:44
Last Post: [HARD] Tony.
  Where can I find a list of scripting commands that correspond to ingame buttons? akillj 2 2,810 06-03-2013, 10:38
Last Post: Yamato
  [Release] Chat plugin for permissions SgtLegend 9 7,616 06-01-2013, 15:02
Last Post: SgtLegend
  [Release] Chat Locker SgtLegend 13 8,432 05-30-2013, 14:40
Last Post: SgtLegend
  In game chat shanky 12 6,847 04-25-2013, 17:47
Last Post: 8q4s8
  Usual chat Arteq 11 5,378 04-14-2013, 20:48
Last Post: Arteq

Forum Jump:


Users browsing this thread: 1 Guest(s)