if(IsPlayerInArea(playerid,2539.9421,-1629.0620,2441.4597,-1721.9825))
{
if(pDaten[playerid][AdminLevel] >= 1 || IsPlayerAdmin(playerid))
{
SetVehicleHealth(playerid,1000);
RepairVehicle(GetPlayerVehicleID(playerid));
Fixed();
Fixed2 = SetTimer("Fixed",1000,1);
}
else
{
new Float:x, Float:y, Float:z;
for(new i=0; i < MAX_PLAYERS; i++)
{
GetPlayerPos(i, x, y, z);
if (x <= 2540 && x >= 2420 && y <= -1629 && y >= -1722)
{
SetPlayerArmedWeapon(i,0);
}
}
}
new Float:x, Float:y, Float:z;
for(new i=0; i < MAX_PLAYERS; i++)
{
GetPlayerPos(i, x, y, z);
if (x <= 2540 && x >= 2420 && y <= -1629 && y >= -1722)
{
SetPlayerArmedWeapon(i,0);
}
}
}
return 1;
Hallo
Wieso geht das nicht mit der Dm Zone in der GroveStreet ich habe das jetzt schon so
Und ich habe das auch nochmal in ein public gemachtpublic NoDM()
{
new Float:x, Float:y, Float:z;
for(new i=0; i < MAX_PLAYERS; i++)
{
GetPlayerPos(i, x, y, z);
if (x <= 2540 && x >= 2420 && y <= -1629 && y >= -1722)
{
SetPlayerArmedWeapon(i,0);
}
}
return 1;
}
Wieso passiert Nix rein garnix in der Grovestreet die cords sind richtig
Ich hoffe ihr könnt helfen
/edite
hat sich erledigt habs hin gekricht kein plan wo rans gelegen hat ber jetzt gehtz