16.03.2015, 13:42
How to make one thing for command? When you have 80 and more hp or armor you can use this command, when you have less you cant use this command.
new Float:HP; // Declares a float, named "HP"
GetPlayerHealth(playerid, HP); // Stores the players health in the float
if(HP < 80) return SendClientMessage(playerid, -1, "You cannot use this command");
// If the float value was lower than 80, send a message and stop the code