10.03.2019, 16:15
Issue solved thanks to a guy on the sa-mp discord. If anyone else has this issue, put this at the top of the code:
PHP Code:
my_SetPlayerArmour(playerid, Float:amount)
{
if(amount < 0.0)
{
amount = 0.0;
}
return SetPlayerArmour(playerid, amount);
}
#if defined _ALS_SetPlayerArmour
#undef SetPlayerArmour
#else
#define _ALS_SetPlayerArmour
#endif
#define SetPlayerArmour my_SetPlayerArmour