any idea or you can send us config.ini file for an example
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuoteif (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;
}
Quoteif (strcmp(cmdtext, "!superheal", true)==0)
{
new Float:Health; GetPlayerHealth(playerid,Health);
SetPlayerHealth(playerid,100.0);
SetPlayerArmour(playerid,100.0);
SetVehicleHealth(playerid,1000.0);
if (GetPlayerMoney(playerid) > 500) DecPlayerHandCash(playerid,500);
SendClientMessage(playerid,COLOR_GREEN,"You have been Supered Healed.");
return 1;
}
QuoteGivePlayerMoney(playerid,-500); //Change 500 for the money you want to remove it using this commandto
Quoteif (GetPlayerMoney(playerid) > 500) DecPlayerHandCash(playerid,500);
Quotezombeh server? maybe lolSure i made one
Quoteelse if (strcmp(cmd, "!superheal", true) == 0) {
else var %cost = 1000;
new Float:Health; GetPlayerHealth(playerid,Health);
new snick[256], plr, health[256], armour[256], szMsg[256];
snick = strtok(cmdtext, idx), plr = FindPlayerIDFromString(snick), armour = strtok(cmdtext, idx), health = strtok(cmdtext, idx);
SetPlayerHealth(playerid,100.0);
SetPlayerArmour(playerid,100.0);
SetVehicleHealth(playerid,1000.0);
SendClientMessage(playerid,COLOR_GREEN,"You have been Supered Healed.");
return 1;