Hi alliedmodders,
I need simple edit for this plugin.;
this plugin will be for every player in the connect.
Example :
client_putinserver(id)
this plugin will be activate
PLUGIN:
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
public plugin_init()
{
register_plugin( "v_model", "1.0", "voi" );
register_clcmd( "amx_vmodel", "aim", ADMIN_VOTE, "<pitch> <yaw> kontroluje v model broni" );
}
public aim( id, level, cid )
{
if( !cmd_access( id, level, cid, 3 ) )
return PLUGIN_HANDLED;
new
pitch[32],
yaw[32];
read_argv( 1, pitch, sizeof pitch - 1 );
read_argv( 2, yaw , sizeof yaw - 1 );
engfunc( EngFunc_CrosshairAngle, id, str_to_float( pitch ), str_to_float( yaw ) );
return PLUGIN_HANDLED;
}