- เครดิต
- 35
- ความรู้
-
- เงิน $
-
- ความดี
-
|
if(strcmp(cmd, "/setha", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pAssistant] >= 1)
{
format(string, sizeof(string), " áÍ´ÁÔ¹ %s ä´éãËéàÅ×Í´áÅÐà¡ÃÒзء¤¹ 1000", sendername);
SendClientMessageToAll(COLOR_WHITE, string);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
SetPlayerHealth(i, 1000);
SetPlayerArmour(i, 1000);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèãªèáÍ´ÁÔ¹!");
}
}
return 1;
} if(strcmp(cmd, "/setha", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pAssistant] >= 1)
{
format(string, sizeof(string), " áÍ´ÁÔ¹ %s ä´éãËéàÅ×Í´áÅÐà¡ÃÒзء¤¹ 1000", sendername);
SendClientMessageToAll(COLOR_WHITE, string);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
SetPlayerHealth(i, 1000);
SetPlayerArmour(i, 1000);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèãªèáÍ´ÁÔ¹!");
}
}
return 1;
} if(strcmp(cmd, "/setha", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pAssistant] >= 1)
{
format(string, sizeof(string), " áÍ´ÁÔ¹ %s ä´éãËéàÅ×Í´áÅÐà¡ÃÒзء¤¹ 1000", sendername);
SendClientMessageToAll(COLOR_WHITE, string);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
SetPlayerHealth(i, 1000);
SetPlayerArmour(i, 1000);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèãªèáÍ´ÁÔ¹!");
}
}
return 1;
} if(strcmp(cmd, "/setha", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pAssistant] >= 1)
{
format(string, sizeof(string), " áÍ´ÁÔ¹ %s ä´éãËéàÅ×Í´áÅÐà¡ÃÒзء¤¹ 1000", sendername);
SendClientMessageToAll(COLOR_WHITE, string);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
SetPlayerHealth(i, 1000);
SetPlayerArmour(i, 1000);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèãªèáÍ´ÁÔ¹!");
}
}
return 1;
} if(strcmp(cmd, "/setha", true) == 0)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 4 || PlayerInfo[playerid][pAssistant] >= 1)
{
format(string, sizeof(string), " áÍ´ÁÔ¹ %s ä´éãËéàÅ×Í´áÅÐà¡ÃÒзء¤¹ 1000", sendername);
SendClientMessageToAll(COLOR_WHITE, string);
for(new i = 0; i < MAX_PLAYERS; i ++)
{
if(IsPlayerConnected(i))
{
SetPlayerHealth(i, 1000);
SetPlayerArmour(i, 1000);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèãªèáÍ´ÁÔ¹!");
}
}
return 1;
} |
|