30.04.2012, 08:24
Hi I don't understand these types of scripts ...
1) enum
2) new
3) flot
Can someone help me ...
1) enum
2) new
3) flot
Can someone help me ...
enum pinfo
{
pKills,
pDeaths
}
new PlayerInfo[MAX_PLAYERS][pinfo];
PlayerInfo[playerid][pKills] = 1; // Other whatever you want it, it's just an example
new Float:hp;
GetPlayerHealth(playerid,hp);
SetPlayerHealth(playerid,hp-25);