20.07.2014, 03:34
Код:
if (strcmp("/hp", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 100);
GivePlayerMoney(playerid, -1000);
format(string2,sizeof(string2),"{FF0000}%s {00EFFF}Restauro su {FFFFFF}(/hp){00EFFF} por {00FF09}dinero",PlayerName2(playerid));
SendClientMessageToAll(COLOR_RED,string2);
return 1;
}
if (strcmp("/armadura", cmdtext, true, 10) == 0)
{
SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid, -1000);
format(string2,sizeof(string2),"{FF0000}%s {00EFFF}Restauro su {FFFFFF}(/armadura){00EFFF} por {00FF09}dinero",PlayerName2(playerid));
SendClientMessageToAll(COLOR_RED,string2);
return 1;
}


