Stuff
public text v1 · immutable#include <a_players>
#include <float>
new Float:maxsarmour = 0.0;
public OnPlayerSpawn(playerid)
{
maxsarmour = (maxsarmour + (GetPlayerScore(playerid) * 5));
SetPlayerArmour(playerid,maxsarmour); // set armour based on preloaded score from database
}