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

Translate amxmodx code to Metamod


  
 
 
Thread Tools Display Modes
Author Message
XP.
Junior Member
Join Date: Feb 2006
Old 02-16-2007 , 17:30   Translate amxmodx code to Metamod
#1

Hello, I need your help to transform this amxmodx code for CS 1.6 to Metamod:

Code:
#include <amxmodx>
#include <engine>
#include <amxmisc>

public plugin_init() 
{
  register_plugin("Cvar Client", "1", "Me")
}

public client_putinserver(id)
{
set_task(15.0, "verificacion", id, "b")
}


public verificacion(id) 
{
    query_client_cvar(id,"fps_max","result2")
}


public result2(id, const cvar[], const value[]){

    new name[32]
    get_user_name(id, name, 31)

if(equal(value,"100"))
{
client_print(id,print_chat,"%s ***", value)
}
else
{
server_cmd("kick #%d ^"Please set fps_max 100 in^"",get_user_userid(id))
}

}
if this post does not go here please move it :/
XP. is offline
BAILOPAN
Join Date: Jan 2004
Old 02-16-2007 , 21:49   Re: Translate amxmodx code to Metamod
#2

what the hell...
__________________
egg
BAILOPAN is offline
 


Thread Tools
Display Modes

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 10:18.


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