Raised This Month: $ Target: $400
 0% 

16 bit not give kick :|


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
jellytin
Junior Member
Join Date: May 2011
Old 05-13-2011 , 09:20   16 bit not give kick :|
Reply With Quote #1

Quote:
#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
register_plugin("[16bpp]", "1.0", "K.K.Lv")

register_forward(FM_ClientConnect, "ClientConnect", 1)
register_forward(FM_SetClientKeyValue, "SetClientKeyValue", 1)
}

public
ClientConnect(id, const szName[])
{
CheckPlayer(id, szName)
}

public
SetClientKeyValue(id, InfoBuffer, szKey[], szValue[])
{
if(
equal(szKey, "name") )
{
CheckPlayer(id, szValue)
}
}

CheckPlayer(id, const szName[])
{
if(
containi(szName, "[16bpp]") != -1 )
{
server_cmd("kick #%d ^"For 16bpp^"", get_user_userid(id))
}
}
what do plz help
jellytin is offline
 



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 04:27.


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