Hallo Breadfish,
Warum funktioniert bei mir IsPlayerInRangeOfPoint nicht? Muss man auch den VirtualWorld überprüfen`?
if(strcmp(cmd, "/equip", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 14 || PlayerInfo[playerid][pLeader] == 14)
{
if (IsPlayerInRangeOfPoint(playerid,5.0,2452.6287,-1702.7783,1013.50789))
{
SetPlayerArmour(playerid,100);
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid,100);
GivePlayerWeapon(playerid,24,500);
GivePlayerWeapon(playerid,29,500);
}
}
return 1;
}