Raised This Month: $ Target: $400
 0% 

Checking "developer"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 06-10-2009 , 13:32   Checking "developer"
Reply With Quote #1

Code:
#include <amxmodx> #define PLUGIN "No Developer" #define VERSION "1.0" #define AUTHOR "aNNakin" #define minutes   0 public plugin_init ( )    register_plugin ( PLUGIN, VERSION, AUTHOR ); public client_putinserver ( id )    if ( ! is_user_bot ( id ) )       query_client_cvar ( id, "developer", "cvar_result_func" );       public client_command ( id )    query_client_cvar ( id, "developer", "cvar_result_func" );     public cvar_result_func ( id, const cvar[], const value[] ) {    new i_Value = str_to_num ( value );    if ( i_Value == 1 )    {       new s_Ip[ 22 ];       get_user_ip ( id, s_Ip, 21, 1 );             server_cmd ( "kick #%d ^"Developer^";wait;addip ^"%s^" ^"%s^";wait;writeip", get_user_userid ( id ), minutes, s_Ip );    } }

It doesn't work, wtf..
PS: don't say why i didn't check the arg. @ client_command (i know i should have)
__________________

anakin_cstrike 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 13:48.


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