This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

REQ: Chat Commands Plugin.


Post New Thread Reply   
 
Thread Tools Display Modes
HamoOodi
Senior Member
Join Date: Dec 2005
Old 12-11-2008 , 10:10   Re: REQ: Chat Commands Plugin.
Reply With Quote #101

Quote:
Originally Posted by HamoOodi View Post
erm.. The ghost please could u give me ur .start .cfg config ? I mean when u say .start it says

The game is live in three restart
GL HF.. and not directly it will wait a couple of seconds.. The same thing on warmup.. Thank you !
HamoOodi is offline
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 12-11-2008 , 10:48   Re: REQ: Chat Commands Plugin.
Reply With Quote #102

I programmed it inside plugin Not the same, but in this style. You need prepare match config as war.cfg and warmup config as warmup.cfg

Two cvars to define access of (un)pause.
  • gp_pause_access
Define access to .pause command
  • gp_unpause_access
Define access to .unpause command
Code:
    /*
    gp_pause_access 0
        all users
    gp_pause_access 1
        admins
    gp_unpause_access 0
        admins
    gp_unpause_access 1
        admins and player who paused
    */
Please test it and write result, I can`t be admin and no-admin player in the same time. Default configuration:
Code:
gp_pause_access 1
gp_unpause_access 1
tested and work.
Attached Files
File Type: sma Get Plugin or Get Source (Gather-Plugin.sma - 467 views - 11.9 KB)

Last edited by Scherzo; 12-11-2008 at 11:25.
Scherzo is offline
The_Ghost
Senior Member
Join Date: Jun 2006
Location: RoMaNiA
Old 12-11-2008 , 12:40   Re: REQ: Chat Commands Plugin.
Reply With Quote #103

Here you go HamoOodi.
@scherzo, many thanks and I'm waiting for other ideas to improve this plugin.
Attached Files
File Type: rar cfg.rar (461 Bytes, 97 views)
__________________
We live in a world where PIZZA arrives faster than the Police !

Last edited by The_Ghost; 12-11-2008 at 12:44.
The_Ghost is offline
Send a message via Skype™ to The_Ghost
HamoOodi
Senior Member
Join Date: Dec 2005
Old 12-11-2008 , 13:36   Re: REQ: Chat Commands Plugin.
Reply With Quote #104

tyvm the ghost +karma..
HamoOodi is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 12-11-2008 , 14:07   Re: REQ: Chat Commands Plugin.
Reply With Quote #105

the idea to optimize the plugin ^_^
__________________
xPaw is offline
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 12-11-2008 , 15:10   Re: REQ: Chat Commands Plugin.
Reply With Quote #106

Usually when I want make sth better, it going to bad or need a lot of patches I think you are more experienced, if you see way to make some operations easier optimize it and add your name to one of constants ;p choose yourself which
Scherzo is offline
The_Ghost
Senior Member
Join Date: Jun 2006
Location: RoMaNiA
Old 12-16-2008 , 10:15   Re: REQ: Chat Commands Plugin.
Reply With Quote #107

Scherzo, have a new idea for you. I thought about the .settagct and .settagt to set the Tags only in the .score command. Because there are players that set their tag by themselves, and so in the .score command the tags are not registered. What do you say ? Be careful if you make it, I mean be sure that the tags are erased when the second .stop and the .cancel commands are executed.
__________________
We live in a world where PIZZA arrives faster than the Police !
The_Ghost is offline
Send a message via Skype™ to The_Ghost
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 12-16-2008 , 11:55   Re: REQ: Chat Commands Plugin.
Reply With Quote #108

ok, i think that will use .tag sCT/sT instead create new command.
Scherzo is offline
The_Ghost
Senior Member
Join Date: Jun 2006
Location: RoMaNiA
Old 12-18-2008 , 09:46   Re: REQ: Chat Commands Plugin.
Reply With Quote #109

ok I am waiting for the new version.
__________________
We live in a world where PIZZA arrives faster than the Police !
The_Ghost is offline
Send a message via Skype™ to The_Ghost
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 12-18-2008 , 14:06   Re: REQ: Chat Commands Plugin.
Reply With Quote #110

As wrote:
say .tag sCT <tag>
set <tag> for CT team in .score
say .tag sT <tag>
set <tag> for T team in .score
Please check. I copied and modified code from .tag CT and .tag T, so it probably works


Updated.
Attached Files
File Type: sma Get Plugin or Get Source (Gather-Plugin.sma - 582 views - 12.4 KB)

Last edited by Scherzo; 12-24-2008 at 05:54.
Scherzo is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:26.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode