Raised This Month: $ Target: $400
 0% 

HELP -_-


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Antonio Cekovski
BANNED
Join Date: Aug 2012
Old 08-17-2012 , 12:44   HELP -_-
Reply With Quote #1

I wanted to local compile this plugin and i found some errors this is the .sma please fix it if you can and then upload the amxx file tnx

_____________________________________________ ___________________________
#include <amxmodx>
#include <fun>
#include <cstrike>
#include <dhudmessage>

new const PLUGIN_NAME[] = "Reset_Score";
new const VERSION[] = "1.0";
new const AUTHOR[] = "Silenttt Fixed by 9 rpamm!?";

new name[33];
new rs_hudmessage;
new rs_sound;

public plugin_init()
{
register_plugin( PLUGIN_NAME, VERSION, AUTHOR );

register_clcmd("say /rs", "reset_score");
register_clcmd("say /resetscore", "reset_score");

rs_hudmessage = register_cvar("rs_hudmessage", "1");
rs_sound = register_cvar("rs_sound", "1");
}

public reset_score(id)
{
set_user_frags(id, 0);
cs_set_user_deaths(id, 0);

if(get_pcvar_num(rs_hudmessage))
{
get_user_name(id, name, 32);
set_dhudmessage(150, 150, 150, -1.0, 0.71, 2, 6.0, 3.0, 0.1, 1.5 );
show_dhudmessage(id, "%s, вашиот резултат е ресетиран ", name);
if(get_pcvar_num(rs_sound))
{
client_cmd(id, "spk fvox/bell");
}
}

}
_____________________________________________ ___________________________

Last edited by Antonio Cekovski; 08-17-2012 at 12:44.
Antonio Cekovski is offline
Reply



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:29.


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