11.06.2015, 21:20
IDK what the problem is, so the first barrier is working it rotates slowly and correctly, the second one is not, it opens just like you destroy the barrier and create the new one, just automatically it opens idk what the problem is, please help
pawn Код:
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1877.1000000,-1083.8000000,23.5000000)) //SURRENOS RAMPA 1
{
if(PI[playerid][Clan] == 7)
{
MoveDynamicObject(SURRampa1, 1877.1000000,-1083.8000000,23.5000000, 0.1, 0.0000000,0.0000000,267.9950000);
SetTimerEx("SURampa1", 7000, false, "i", playerid);
}
else return SCM(playerid, TOMATO, "[RPF] {FFFFFF}Nemate kljuceve ove organizacije !");
}
else if(IsPlayerInRangeOfPoint(playerid, 7.0, 1963.5000000,-1090.0000000,25.0000000)) //SURRENOS RAMPA 2
{
if(PI[playerid][Clan] == 7)
{
MoveDynamicObject(SURRampa2, 1963.5000000,-1090.1000000,25.0000000, 0.1, 0.0000000,0.0000000,261.9950000);
SetTimerEx("SURampa2", 7000, false, "i", playerid);
}
else return SCM(playerid, TOMATO, "[RPF] {FFFFFF}Nemate kljuceve ove organizacije !");
}