Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new EliteKapija;
- new EliteKapija2;
- /////////////////////////////////////////////////////////////////////////////////////////////////
- EliteKapija2 = CreateObject(19912, 922.57269, -1598.45911, 15.12887, 0.00000, 0.00000, 359.89496);
- EliteKapija = CreateObject(19912, 911.78235, -1762.55945, 14.99759, 0.00000, 0.00000, 175.78325);
- //////////////////////////////////////////////////////////////////////////////////////////////////
- else if(IsPlayerInRangeOfPoint(playerid, 10.0, 911.78235, -1762.55945, 14.99759)) // Street Elite Family kapija
- {
- if(PI[playerid][Clan] == 5 || PI[playerid][Lider] == 5)
- {
- MoveObject(EliteKapija,911.78235, -1762.55945, 9.35681, 2.00); //kordinate otvorene kapije
- KapijeTimer[playerid] = SetTimer("KapijaElite", 7000, 0);
- format(string, sizeof(string), "* %s vadi daljinski i otvara kapiju Street Elite Family baze.", GetName(playerid));
- ProxDetector(30.0, playerid, string, PROX,PROX,PROX,PROX,PROX);
- }
- else return SendErrorMessage(playerid, "Nemate daljinski od ove kapije.");
- }
- else if(IsPlayerInRangeOfPoint(playerid, 10.0, 922.57269, -1598.45911, 15.12887)) // Street Elite Family kapija 2
- {
- if(PI[playerid][Clan] == 5 || PI[playerid][Lider] == 5)
- {
- MoveObject(EliteKapija2,922.57269, -1598.45911, 8.98147, 2.00); //kordinate otvorene kapije
- KapijeTimer[playerid] = SetTimer("KapijaElite2", 7000, 0);
- format(string, sizeof(string), "* %s vadi daljinski i otvara kapiju Street Elite Family baze.", GetName(playerid));
- ProxDetector(30.0, playerid, string, PROX,PROX,PROX,PROX,PROX);
- }
- else return SendErrorMessage(playerid, "Nemate daljinski od ove kapije.");
- /////////////////////////////////////////////////////
- forward KapijaElite();
- public KapijaElite()
- {
- MoveObject(EliteKapija,911.78235, -1762.55945, 14.99759, 2.00);
- return 1;
- }
- forward KapijaElite2();
- public KapijaElite2()
- {
- MoveObject(EliteKapija2,922.57269, -1598.45911, 15.12887, 2.00);
- return 1;
- }
- ///////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement