Raised This Month: $ Target: $400
 0% 

Need help with code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SpikeRed
Junior Member
Join Date: Nov 2019
Old 11-29-2019 , 12:33   Need help with code
Reply With Quote #1

Hello i input on my server a plugin with levels and the plugin add to my chat prefix and modifing the say now i cant gag players on server here is code

What i need to do here to can use again gag comand ?

Quote:
public fw_SayCmd(id) {
if(bPrefix) {
new szName[33], szArgs[192], szPrefix[16];
get_user_name(id, szName, charsmax(szName));
read_args(szArgs, charsmax(szArgs));
remove_quotes(szArgs);
if(!is_user_alive(id))
szPrefix = "*DEAD* ";
ColorChat(0, TEAM_COLOR, "^1%s^4[ Level: %i ]^3 %s^1 : %s", szPrefix, iLevels[id], szName, szArgs);
return PLUGIN_HANDLED;
}
return PLUGIN_CONTINUE;
}

Here is my full sma: https://justpaste.it/4myxb

Last edited by SpikeRed; 11-29-2019 at 12:35.
SpikeRed is offline
 


Thread Tools
Display Modes

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 02:44.


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