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

[REQ] Custom Prefix on special setinfo


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 05-20-2020 , 14:31   Re: [REQ] Custom Prefix on special setinfo
Reply With Quote #11

I don't get why are you adding the VIP via "setinfo". Anyone can modify their "setinfo" and make themselves VIP. This is basically free VIP for anyone who wants it, so why just not add the prefix for everyone in the server?

Anyways, you can use this extra small sub-plugin for my Chat Manager to set the prefix you want so badly:

Code:
#include <amxmodx> #include <chatmanager> public plugin_init() {     register_plugin("CM: Setinfo Prefix", "1.0", "OciXCrom") } public cm_on_player_data_updated(id) {     new szInfo[2]     get_user_info(id, "vip", szInfo, charsmax(szInfo))     if(str_to_num(szInfo) == 1)     {         cm_set_user_prefix(id, "[YOUR PREFIX HERE]")     } }
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
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 14:26.


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