Hallo Leute also ich habe ein armor befehle drin aber mann kann es 100000 benutzen?
if(strcmp(cmd, "/ballasarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
if (IsPlayerInRangeOfPoint(playerid,3.0,2569.3640,-1094.7861,66.6263)||IsPlayerInRangeOfPoint(playerid,3.0,2569.3640,-1094.7861,66.6263))
{
if(GetPlayerMoney(playerid) >= 0)
{
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
}
else
{
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am Ballas armor Point!");
}
}
return 1;
}
//================HITMAN MASKE ENDE====================
if(strcmp(cmd, "/armor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
// if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
if (IsPlayerInRangeOfPoint(playerid,3.0,2819.0176,-1172.2887,1025.5703)||IsPlayerInRangeOfPoint(playerid,3.0,2819.0176,-1172.2887,1025.5703))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SetPlayerInterior(playerid,8);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===========================================FRAKTION ARMOR=============================
if(strcmp(cmd, "/lcnarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
if (IsPlayerInRangeOfPoint(playerid,3.0,1647.7377,-1813.4070,13.5343)||IsPlayerInRangeOfPoint(playerid,3.0,1647.7377,-1813.4070,13.5343))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//=====================================
if(strcmp(cmd, "/yakiarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)
if (IsPlayerInRangeOfPoint(playerid,3.0,-2717.9670,-317.2987,7.8438)||IsPlayerInRangeOfPoint(playerid,3.0,-2717.9670,-317.2987,7.8438))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/hitmanarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8)
if (IsPlayerInRangeOfPoint(playerid,3.0,2149.6931,-1808.4832,16.1440)||IsPlayerInRangeOfPoint(playerid,3.0,2149.6931,-1808.4832,16.1440))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/fuegosarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12)
if (IsPlayerInRangeOfPoint(playerid,3.0,-2115.0789,-178.0732,35.3203)||IsPlayerInRangeOfPoint(playerid,3.0,-2115.0789,-178.0732,35.3203))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/gsfarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13)
if (IsPlayerInRangeOfPoint(playerid,3.0,2497.9807,-1687.7264,13.5108)||IsPlayerInRangeOfPoint(playerid,3.0,2497.9807,-1687.7264,13.5108))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/bikearmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)
if (IsPlayerInRangeOfPoint(playerid,3.0,-2032.3395,164.5288,28.8359)||IsPlayerInRangeOfPoint(playerid,3.0,-2032.3395,164.5288,28.8359))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/vagosarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 16 || PlayerInfo[playerid][pLeader] == 16)
if (IsPlayerInRangeOfPoint(playerid,3.0,2536.5503,-1060.8982,69.5679)||IsPlayerInRangeOfPoint(playerid,3.0,2536.5503,-1060.8982,69.5679))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
// SendClientMessage(playerid,RED,"Nicht genug Geld zum Pushen! 100000$!");
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/atzearmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 17 || PlayerInfo[playerid][pLeader] == 17)
if (IsPlayerInRangeOfPoint(playerid,3.0,-691.8252,937.3750,13.6328)||IsPlayerInRangeOfPoint(playerid,3.0,-691.8252,937.3750,13.6328))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
GivePlayerMoney(playerid, -0);
}
else
{
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}
//===================================
if(strcmp(cmd, "/rifaarmor", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 18 || PlayerInfo[playerid][pLeader] == 18)
if (IsPlayerInRangeOfPoint(playerid,3.0,2819.3853,-1171.7512,1025.5703)||IsPlayerInRangeOfPoint(playerid,3.0,2819.3853,-1171.7512,1025.5703))
{
if(GetPlayerMoney(playerid) >= 0)
{
// SetPlayerHealth(playerid,160.0);
SetPlayerArmour(playerid,100.0);
SendClientMessage(playerid,RED,"Du hast dir Armor geholt!");
GameTextForPlayer(playerid,"Du hast 100 armor bekommen!",5000,5);
}
else
{
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "Du befindest dich nicht am armor Poin!");
}
}
return 1;
}