Code: Select all
if(strcmp(cmd, "/comada", true) == 0)
{Code: Select all
public OnPlayerCommandText(playerid, cmdtext[])Code: Select all
if(PlayerInfo[playerid][pAdmin] >= 1337)
{acum comanda va arata astfel
Code: Select all
if(strcmp(cmd, "/comada", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1337)
{Code: Select all
for(new i = 0; i < MAX_PLAYERS; i ++)
{dupa vom alege ce sa facem
eu o sa aleg healall
Code: Select all
SetPlayerHealth(playerid,value);Code: Select all
SetPlayerHealth(i,100);Code: Select all
if(strcmp(cmd, "/comada", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] >= 1337)
{
for(new i = 0; i < MAX_PLAYERS; i ++)
{
SetPlayerHealth(i,100);// dupa incepem sa incheiam comanda
}
}
return 1;
}ps imi cer scuze pentru identuri




