Hi, could someone tell me what I screwed up on here... I am new to coding like this, I know some Pascal, Java, and Visual Basic from school... so i'm not a total noob coder

! Anyhow, this fails to compile... it is a plugin for the mod TFC and is supposed to check the super nailguns ammo, and if it goes below 50 ammo, it should keep the ammo at 50.
Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <tfcx>
#define PLUGIN "NoName"
#define VERSION "1.0"
#define AUTHOR "hlstriker"
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
return PLUGIN_CONTINUE
}
public ammoCheck()
{
tfc_getweaponbammo ( id, TFC_WPN_SUPERNG )
If (tfc_getweaponbammo < 50) {
tfc_setweaponbammo ( id, TFC_WPN_SUPERNG, 50)
}
return PLUGIN_CONTINUE
}