Quote:
Originally Posted by joshknifer
Too many similar plugins have been made like this already.
|
+
1. Your coding style is horrible, too many spaces.
2.
new FRAGS[32], HS[32]; it should be 33.
3.
PHP Code:
if ( headshot )
{
HS[killer]++;
FRAGS[killer]++;
}
else
{
FRAGS[killer]++;
}
You can short it to:
PHP Code:
if ( headshot )
{
HS[killer]++;
}
FRAGS[killer]++;
4. In fw_ShowHud vars should be static.
__________________