Raised This Month: $ Target: $400
 0% 

Help me pls


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Antonio Cekovski
BANNED
Join Date: Aug 2012
Old 08-17-2012 , 09:22   Help me pls
Reply With Quote #1

I wanted to local compile this plugin and i found those errors pls help if you can

_____________________________________________ ___________________________
#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");
}
}

}
_____________________________________________ ___________________________


resetscore.sma<1> : eror 010: invalid function or declaration
fun.inc<17> : error 026:no matching "if..."
fun.inc<19> : error 029:invalid expression, assumed zero
fun.inc<44> : error 029:invalid expression, assumed zero
fun.inc<44> : error 001: expected token: "," but found "-identifier-"
cstrike.inc<13> error 017: undefined symbol "AMXX_VERSION_NUM
Antonio Cekovski is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-17-2012 , 09:23   Re: Help me pls
Reply With Quote #2

Update your include files for your compiler, they are out-of-date
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Antonio Cekovski
BANNED
Join Date: Aug 2012
Old 08-17-2012 , 11:09   Re: Help me pls
Reply With Quote #3

what do you mean ??? download the latest includes for the local compiler ???
Antonio Cekovski is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-17-2012 , 11:12   Re: Help me pls
Reply With Quote #4

Yes
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Antonio Cekovski
BANNED
Join Date: Aug 2012
Old 08-17-2012 , 11:42   Re: Help me pls
Reply With Quote #5

I did as you said and now i found new erors:
//// resetscore.amxx
resetscore.sma<1> : error 010: invalid function or declaration
fun..inc<13> : error 017 : undefined symbol "AMXX_VERSION_NUM"
fun.inc <45> : error 017 : undefined symbol "kRenderFxNone"
cstrike.inc<13> : error 017 : undefined symbol "AMX_VERSION_NUM"
Antonio Cekovski is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-17-2012 , 11:43   Re: Help me pls
Reply With Quote #6

Attach the .sma here.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Antonio Cekovski
BANNED
Join Date: Aug 2012
Old 08-17-2012 , 11:51   Re: Help me pls
Reply With Quote #7

Here it is
Antonio Cekovski is offline
Antonio Cekovski
BANNED
Join Date: Aug 2012
Old 08-17-2012 , 11:52   Re: Help me pls
Reply With Quote #8

http://speedy.sh/uwxJZ/resetscore.sma
Attached Files
File Type: sma Get Plugin or Get Source (resetscore.sma - 554 views - 965 Bytes)
Antonio Cekovski is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-17-2012 , 12:02   Re: Help me pls
Reply With Quote #9

You have some invalid characters on the first line before #include <amxmodx>.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Antonio Cekovski
BANNED
Join Date: Aug 2012
Old 08-17-2012 , 12:07   Re: Help me pls
Reply With Quote #10

so how to fx those characters and this plugin to work?
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 17:15.


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