Hallo Liebes Breadfish ich habe ein Armor befehl und mann kann es tausend mall benutzen bitte helfen!
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;
}