Thanks, for the fix, compiles propperly now. Also thanks for the link I will read through it!
Also you would advice me to do the following:
PHP Code:
if(TeamA!=Team) {
set_user_frags(attacker,get_user_frags(attacker) +1); // The line where to error comes
} else {
set_user_frags(attacker,get_user_frags(attacker) -1);
}