- เครดิต
- 25
- ความรู้
-
- เงิน $
-
- ความดี
-
|
if(strcmp(cmd, "/ga", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Admin %s ä´éàÊ¡ÍÒÇظÍÍ¡ÁÒãªé", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 1000);
GivePlayerWeapon(playerid, 32, 1000);
GivePlayerWeapon(playerid, 27, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 16, 1000);
GivePlayerWeapon(playerid, 41, 1000);
GivePlayerWeapon(playerid, 34, 1000);
GivePlayerWeapon(playerid, 4, 1);
SetPlayerArmour(playerid, 200);
SetPlayerHealth(playerid, 200);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèÊÒÁÒöãªé¤ÓÊÑ觹Õéä´é!");
}
}
return 1;
}if(strcmp(cmd, "/ga", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Admin %s ä´éàÊ¡ÍÒÇظÍÍ¡ÁÒãªé", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 1000);
GivePlayerWeapon(playerid, 32, 1000);
GivePlayerWeapon(playerid, 27, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 16, 1000);
GivePlayerWeapon(playerid, 41, 1000);
GivePlayerWeapon(playerid, 34, 1000);
GivePlayerWeapon(playerid, 4, 1);
SetPlayerArmour(playerid, 200);
SetPlayerHealth(playerid, 200);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèÊÒÁÒöãªé¤ÓÊÑ觹Õéä´é!");
}
}
return 1;
}if(strcmp(cmd, "/ga", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* Admin %s ä´éàÊ¡ÍÒÇظÍÍ¡ÁÒãªé", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 24, 1000);
GivePlayerWeapon(playerid, 32, 1000);
GivePlayerWeapon(playerid, 27, 1000);
GivePlayerWeapon(playerid, 31, 1000);
GivePlayerWeapon(playerid, 16, 1000);
GivePlayerWeapon(playerid, 41, 1000);
GivePlayerWeapon(playerid, 34, 1000);
GivePlayerWeapon(playerid, 4, 1);
SetPlayerArmour(playerid, 200);
SetPlayerHealth(playerid, 200);
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, " ¤Ø³äÁèÊÒÁÒöãªé¤ÓÊÑ觹Õéä´é!");
}
}
return 1;
} |
|