hi ,
if (strcmp(cmdtext, "/superheal", true)==0)
{
new Float:Health; GetPlayerHealth(playerid,Health);
SetPlayerHealth(playerid,100.0);
SetPlayerArmour(playerid,100.0);
SetVehicleHealth(playerid,1000.0);
GivePlayerMoney(playerid,-500); //Change 500 for the money you want to remove it using this command
SendClientMessage(playerid,COLOR_GREEN,"You have been Supered Healed.");
return 1;
}
I think it is to, sorry for my bad English
or
if (strcmp(cmdtext, "/superheal", true)==0)
{
new Float:Health; GetPlayerHealth(playerid,Health);
SetPlayerHealth(playerid,100.0);
SetPlayerArmour(playerid,100.0);
GivePlayerMoney(playerid,-500); //Change 500 for the money you want to remove it using this command
SendClientMessage(playerid,COLOR_GREEN,"You have been Supered Healed.");
if(IsPlayerInAnyVehicle(playerid))
{
SetVehicleHealth(playerid,1000.0);
GivePlayerMoney(playerid,-500); //Change 500 for the money you want to remove it using this command
SendClientMessage(playerid,COLOR_GREEN,"You have been Supered Healed.");
}
return 1;
}
Any failure Own, "correction" Pliz
Saludos,Desde Chile