Raised This Month: $ Target: $400
 0% 

Need code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Artifact
Veteran Member
Join Date: Jul 2010
Old 06-25-2011 , 02:32   Need code
Reply With Quote #1

I need cvars. When cvar = ban plugin ban player for something but when cvar is kick plugin kick player.....

PHP Code:
public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    new 
Commands [][] = { "say fuck you""say blowing" }

    for(new 
ii<sizeof(Commands); i++)
    {
        
register_clcmd(Commands[i], "fuckurmama"ADMIN_KICK"!!!")
    }
}

public 
fuckurmama(id)
{
        new 
Fucker[3]
        
get_user_name(idFuckercharsmax(Fucker))
        
server_cmd("kick #%d ^"Try to fuck someone else.^""Fucker)

__________________
Artifact 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 23:24.


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