#if defined _thc_rpg_included
#endinput
#endif
#define _thc_rpg_included
// Xp
native thc_rpg_SetXP(client, amount);
native thc_rpg_SetReqXP(client, amount);
native thc_rpg_SetStaticReqXP(client, amount);
native thc_rpg_SetStaticXP(client, amount);
native thc_rpg_GetXP(client);
native thc_rpg_TeamWinXP(team);
native thc_rpg_GetReqXP(client);
native thc_rpg_GetHurtXP(client);
native thc_rpg_SetHurtXP(client, amount);
// Level
native thc_rpg_SetLevel(client, amount);
native thc_rpg_SetStaticLevel(client, amount);
native thc_rpg_GetLevel(client);
// Credits
native thc_rpg_SetCredits(client, amount);
native thc_rpg_SetStaticCredits(client, amount);
native thc_rpg_GetCredits(client);
// Vip
native thc_rpg_GetVip(client);
//1mpulse
native thc_rpg_GetPlayerFreezing(client);
// Databases
native thc_rpg_RemovePlayer(client);
native thc_rpg_GetPlayerTop10(client);
native thc_rpg_SavePlayerData(client);
native thc_rpg_LoadPlayerData(client);
native thc_rpg_InsertPlayer(client);
native thc_rpg_ResetPlayer(client);
// Forwards
forward ThcRpg_LvlUp(client); //(Player lvl up)
public SharedPlugin:__pl_thc_rpg =
{
name = "thc_rpg",
file = "thc_rpg.smx",
#if defined REQUIRE_PLUGIN
required = 1,
#else
required = 0,
#endif
};
#if !defined REQUIRE_PLUGIN
public __pl_thc_rpg_SetNTVOptional()
{
MarkNativeAsOptional("thc_rpg_SetXP");
MarkNativeAsOptional("thc_rpg_SetReqXP");
MarkNativeAsOptional("thc_rpg_SetStaticReqXP");
MarkNativeAsOptional("thc_rpg_SetStaticXP");
MarkNativeAsOptional("thc_rpg_GetXP");
MarkNativeAsOptional("thc_rpg_TeamWinXP");
MarkNativeAsOptional("thc_rpg_GetReqXP");
MarkNativeAsOptional("thc_rpg_GetHurtXP");
MarkNativeAsOptional("thc_rpg_SetLevel");
MarkNativeAsOptional("thc_rpg_SetStaticLevel");
MarkNativeAsOptional("thc_rpg_GetLevel");
MarkNativeAsOptional("thc_rpg_SetCredits");
MarkNativeAsOptional("thc_rpg_SetStaticCredits");
MarkNativeAsOptional("thc_rpg_GetCredits");
MarkNativeAsOptional("thc_rpg_GetVip");
MarkNativeAsOptional("thc_rpg_RemovePlayer");
MarkNativeAsOptional("thc_rpg_GetPlayerTop10");
MarkNativeAsOptional("thc_rpg_SavePlayerData");
MarkNativeAsOptional("thc_rpg_InsertPlayer");
MarkNativeAsOptional("thc_rpg_LoadPlayerData");
MarkNativeAsOptional("thc_rpg_ResetPlayer");
MarkNativeAsOptional("thc_rpg_GetPlayerFreezing");
}
#endif