Raised This Month: $51 Target: $400
 12% 

what is this plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Ahmad111
Member
Join Date: Jul 2019
Old 04-28-2020 , 08:49   Re: what is this plugin
Reply With Quote #11

Quote:
Originally Posted by iceeedr View Post
Simple return PLUGIN_HANDLED inside public gg funcion
Quote:
public gg(id)
{
PLUGIN_HANDLED
// client_cmd(id, "w3lykom al salam");
client_cmd(id, "say w3lykom al salam");

}
like this ?
Ahmad111 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-28-2020 , 08:54   Re: what is this plugin
Reply With Quote #12

No,

Like this.

PHP Code:
public gg(id)
{
// client_cmd(id, "w3lykom al salam");
client_cmd(id"say w3lykom al salam");
return 
PLUGIN_HANDLED

__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Ahmad111
Member
Join Date: Jul 2019
Old 04-28-2020 , 08:56   Re: what is this plugin
Reply With Quote #13

Quote:
Originally Posted by iceeedr View Post
No,

Like this.

PHP Code:
public gg(id)
{
// client_cmd(id, "w3lykom al salam");
client_cmd(id"say w3lykom al salam");
return 
PLUGIN_HANDLED

i do it but now nothing appear
when i say gg
its
player : gg
not reaplace the gg with good game
edit : the plugin wokd
but when i say gg
the chat will be
player : gg
player : good game
i need to remove (player : gg)

Last edited by Ahmad111; 04-28-2020 at 09:18.
Ahmad111 is offline
iceeedr
Veteran Member
Join Date: Apr 2017
Location: Brazil
Old 04-28-2020 , 09:59   Re: what is this plugin
Reply With Quote #14

Quote:
Originally Posted by Ahmad111 View Post
i do it but now nothing appear
when i say gg
its
player : gg
not reaplace the gg with good game
edit : the plugin wokd
but when i say gg
the chat will be
player : gg
player : good game
i need to remove (player : gg)

If you put the return PLUGIN_HANDLED at the end of the function, gg is not appearing, I'm sure.

PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "AlferD"

public plugin_init() 
{
        
register_plugin(PLUGINVERSIONAUTHOR)

        
register_clcmd("say gg""gg")
        
register_clcmd("say_team gg""gg")
}

public 
gg(id)
{
        
client_cmd(id"say Good Game !");
        return 
PLUGIN_HANDLED

__________________


Quote:
Originally Posted by fysiks View Post
Please stop trying to help. You appear to just be posting random stuff. Wait until you actually understand more about AMX Mod X and how the game works.
https://iceeedr.com.br/
iceeedr is offline
Send a message via Skype™ to iceeedr
Ahmad111
Member
Join Date: Jul 2019
Old 04-28-2020 , 11:00   Re: what is this plugin
Reply With Quote #15

Trust me , its not
I try it
Ahmad111 is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-28-2020 , 13:42   Re: what is this plugin
Reply With Quote #16

https://forums.alliedmods.net/showthread.php?t=24066
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
alferd
Veteran Member
Join Date: Dec 2019
Location: Iran is Always Eternal
Old 04-28-2020 , 15:11   Re: what is this plugin
Reply With Quote #17

PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "AlferD"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /gg""gg")
    
register_clcmd("say /bg""bg")
    
    
register_clcmd("say_team /gg""gg")
    
register_clcmd("say_team /bg""bg")
}

public 
gg()
{
    
// client_cmd(id, "say Good Game !");
    
client_print(0print_chat"Good Game !");
    return 
PLUGIN_HANDLED;
}

public 
bg()
{
    
// client_cmd(id, "say Bad Game !");
    
client_print(0print_chat"Bad Game !");
    return 
PLUGIN_HANDLED;

alferd is offline
Ahmad111
Member
Join Date: Jul 2019
Old 04-28-2020 , 15:24   Re: what is this plugin
Reply With Quote #18

Quote:
Originally Posted by alferd View Post
PHP Code:
#include <amxmodx>
#include <amxmisc>

#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "AlferD"


public plugin_init() {
    
register_plugin(PLUGINVERSIONAUTHOR)
    
    
register_clcmd("say /gg""gg")
    
register_clcmd("say /bg""bg")
    
    
register_clcmd("say_team /gg""gg")
    
register_clcmd("say_team /bg""bg")
}

public 
gg()
{
    
// client_cmd(id, "say Good Game !");
    
client_print(0print_chat"Good Game !");
    return 
PLUGIN_HANDLED;
}

public 
bg()
{
    
// client_cmd(id, "say Bad Game !");
    
client_print(0print_chat"Bad Game !");
    return 
PLUGIN_HANDLED;

/gg not disappear
Ahmad111 is offline
Ahmad111
Member
Join Date: Jul 2019
Old 04-28-2020 , 15:28   Re: what is this plugin
Reply With Quote #19

Quote:
Originally Posted by OciXCrom View Post
this is not what im looking for
Ahmad111 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 13:52.


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