24.10.2012, 12:07
new lspdg3;
lspdg3 = 0;
else if(IsPlayerInRangeOfPoint(playerid, 15,1643.3337402344, -1715.1926269531, 16.382766723633))
{
if(lspdg3 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Kapija je vec otvorena"); return 1; }
MoveDynamicObject(policijaftw,1643.3337402344, -1715.1926269531, 10.382766723633,3.0);
SetTimer("zatvori", 5000, 0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima svoj daljinski i otvara kapiju PD garaze br.2.", sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,CO LOR_CHAT5);
lspdg3 = 1;
}
}
public zatvori()
{
MoveDynamicObject(policijaftw, 1643.3337402344, -1715.1926269531, 16.382766723633, 3.0);
lspdg3 = 0;
return 1;
}
forward zatvori();
here could somebody try to fix it.... Laguage of the script is not english its bosnian but i think mistake should be on english. Please helppppp
lspdg3 = 0;
else if(IsPlayerInRangeOfPoint(playerid, 15,1643.3337402344, -1715.1926269531, 16.382766723633))
{
if(lspdg3 == 1) { SendClientMessage(playerid, COLOR_GREY, "** Kapija je vec otvorena"); return 1; }
MoveDynamicObject(policijaftw,1643.3337402344, -1715.1926269531, 10.382766723633,3.0);
SetTimer("zatvori", 5000, 0);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s uzima svoj daljinski i otvara kapiju PD garaze br.2.", sendername);
ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,CO LOR_CHAT5);
lspdg3 = 1;
}
}
public zatvori()
{
MoveDynamicObject(policijaftw, 1643.3337402344, -1715.1926269531, 16.382766723633, 3.0);
lspdg3 = 0;
return 1;
}
forward zatvori();
here could somebody try to fix it.... Laguage of the script is not english its bosnian but i think mistake should be on english. Please helppppp