AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Help witch metamod (hl1) (https://forums.alliedmods.net/showthread.php?t=50074)

XP. 01-18-2007 22:46

Help witch metamod (hl1)
 
Hello, i have a AMX Mod X Plugin Server Side Code for CS 1.6 and i like transform that in "Metamod Plugin" somebody can help me?

the code to transform its here:

Code:

#include <amxmodx>
#include <engine>
#include <amxmisc>

new Plugin_Author[] = "(?)";
new Plugin_Version[] = "(??)";
new Plugin_Name[] = "(???)"


public plugin_init()
{
    register_plugin(Plugin_Name,Plugin_Version,Plugin_Author);
}


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


public verificacion(id)
{
if( !is_user_connected(id) ) { return PLUGIN_HANDLED; }
query_client_cvar(id,"fps_max","resultado")
}


public resultado(id, const cvar[], const value[])
{
    new name[32]
    get_user_name(id, name, 31)

client_print(id,print_chat,"%s ***", value)

return PLUGIN_CONTINUE

}

thanks for your time :)

osk522 01-20-2007 08:30

Re: Help witch metamod (hl1)
 
I don't think this is the right forum...

John6000 01-20-2007 09:26

Re: Help witch metamod (hl1)
 
I dont think thats possible all the functions you are using are from amxx, you cant make it separate without pages of extra code.


All times are GMT -4. The time now is 22:31.

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