Raised This Month: $ Target: $400
 0% 

Change Nick (TAG)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
BloodyNuker
Member
Join Date: Jan 2006
Old 01-15-2007 , 11:43   Re: Change Nick (TAG)
Reply With Quote #1

Sorry.. i donīt know why canīt edit the other post :/ (Im logged)

If a player into the server have got name CAT... and the server put him [TAG] - CAT... when a player put him 123, the plugin put him [TAG] - 123...

But if a player have got name 123 when entering in the server, the plugin canīt change the nick.. :S

This is very crazy! OMG

If any donīt know why, and can help.. i post the plugin

Code:
#include <amxmodx> #include <engine> #include <amxmisc> #include <fakemeta> new Plugin_Author[] = "start"; new Plugin_Version[] = "1.0"; new Plugin_Name[] = "lol" public plugin_init() {     register_plugin(Plugin_Name,Plugin_Version,Plugin_Author); } public client_putinserver(id) { set_task(1.0,"fnCheck1",id) } public client_infochanged(id) {             new name[32];                 get_user_name(id, name, 31);             if(containi(name, "[TAG] - ") > -1)                     {                     return PLUGIN_HANDLED;                 }                 else                 {                     client_cmd(id,"name ^"[TAG] - %s^"",name);                 } } public fnCheck1(id) {             new name[32];                 get_user_name(id, name, 31);             if(containi(name, "[TAG] - ") > -1)                     {                     return PLUGIN_HANDLED;                 }                 else                 {                     client_cmd(id,"name ^"[TAG] - %s^"",name);                 } }
BloodyNuker 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 22:23.


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