new lcntor0;
new lcntorvar0;
new lcntor1;
new lcntorvar1;
new lcntor2;
new lcntorvar2;
new lcntore = 0;
lcntor0 = CreateDynamicObject(980, 786.90002441406, -1152.4000244141, 25.39999961853, 0, 0, 272);
lcntor1 = CreateDynamicObject(980, 658.5, -1226.6999511719, 17, 0, 0, 64);
lcntor2 = CreateDynamicObject(980, 664.90002441406, -1311.1999511719, 15.199999809265, 0, 0, 180);
if(strcmp(cmd,"/lcntore", true) == 0)
{
if(IsPlayerInFrac(playerid, 5) || PlayerInfo[playerid][pAdmin] >= 1338)
if(IsPlayerInRangeOfPoint(playerid, 10.0, 786.90002441406, -1152.4000244141, 25.39999961853) || IsPlayerInRangeOfPoint(playerid, 10.0, 658.5, -1226.6999511719, 17) || IsPlayerInRangeOfPoint(playerid, 10.0, 664.90002441406, -1311.1999511719, 15.199999809265))
{
if(lcntore == 0)
{
MoveDynamicObject(lcntor0,786.90002441406, -1152.4000244141, 25.39999961853,3);
MoveDynamicObject(lcntor1,658.5, -1226.6999511719, 17,3);
MoveDynamicObject(lcntor2,664.90002441406, -1311.1999511719, 15.199999809265,3);
lcntore = 1;
}
else
{
MoveDynamicObject(lcntor0,786.90002441406, -1152.4000244141, 15.39999961853,3);
MoveDynamicObject(lcntor1,658.5, -1226.6999511719, 7,3);
MoveDynamicObject(lcntor2,664.90002441406, -1311.1999511719, 5.199999809265,3);
lcntore = 0;
}
}
return 1;
}
Hau dir den Timer rein und gut ist