All pastes #639801 Raw Edit

Stuff

public text v1 · immutable
#639801 ·published 2007-07-30 21:27 UTC
rendered paste body
#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
}