Započeo Obrisan korisnik
•20. Sep. 2010.[Pomoc] Oko HQ-a/headquartera
851
pregleda
3
postova
20. Sep. 2010.
ovako...ja zelim napraviti hq/headquarters ali ne mogu skontati kako sve ide pa da vas pitam kako se to radi,u svom modu imam i primjer...a u njih je taj hq nekako poseban...cim doces do nekog mjesta...automatski udes u hq,ako si clan te org/bande....evo i primjer od neke org
PRIMJER
I evo moje koordinate od mjesta sto sam htio da bude izlaz i ulaz
AddPlayerClass(0,2216.3401,-1150.5100,1025.7969,270.0000,0,0,0,0,0,0); // izlaz (izlaz je unutra)
AddPlayerClass(0,2230.7883,-1159.5709,25.8253,267.0116,0,0,0,0,0,0); // ulaz (ulaz je izvan)
AKO SAM NESTO POGRIJESIO ISPRAVITE ME! (izvinite na caps ali ozbiljno je)
PRIMJER
Quote
//Secret Intelligence Service*********************************************************************************
if(PlayerInfo == 3 || PlayerInfo == 3 || PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 2)
{
SetPlayerPos(playerid, 1298.8679,-792.9488,1084.007😎;
GameTextForPlayer(playerid, "~w~Secret Intelligence Service",5000,1);
SetPlayerInterior(playerid,5);
SetPlayerFacingAngle(playerid, 90);
PlayerInfo = 5;
}
else if(hqlock == 1)
{
SetPlayerPos(playerid, 1298.8679,-792.9488,1084.007😎;
GameTextForPlayer(playerid, "~w~Secret Intelligence Service",5000,1);
SetPlayerInterior(playerid,5);
SetPlayerFacingAngle(playerid, 90);
PlayerInfo = 5;
}
else
{
GameTextForPlayer(playerid, "~r~Ulaz zabranjen !",5000,1);
}
}
else if (PlayerToPointStripped(1.5, playerid,1298.8507,-797.0130,1084.0078, cx,cy,cz))
{
//Secret Intelligence Service izlaz
SetPlayerPos(playerid, 1126.6790,-2037.3330,69.8835);
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo = 0;
}
else if (PlayerToPointStripped(1, playerid,1111.9219,-1795.2560,16.5938, cx,cy,cz))
{
if(PlayerInfo == 3 || PlayerInfo == 3 || PlayerInfo == 1 || PlayerInfo == 1 || PlayerInfo == 2 || PlayerInfo == 2)
{
SetPlayerPos(playerid, 1298.8679,-792.9488,1084.007😎;
GameTextForPlayer(playerid, "~w~Secret Intelligence Service",5000,1);
SetPlayerInterior(playerid,5);
SetPlayerFacingAngle(playerid, 90);
PlayerInfo = 5;
}
else if(hqlock == 1)
{
SetPlayerPos(playerid, 1298.8679,-792.9488,1084.007😎;
GameTextForPlayer(playerid, "~w~Secret Intelligence Service",5000,1);
SetPlayerInterior(playerid,5);
SetPlayerFacingAngle(playerid, 90);
PlayerInfo = 5;
}
else
{
GameTextForPlayer(playerid, "~r~Ulaz zabranjen !",5000,1);
}
}
else if (PlayerToPointStripped(1.5, playerid,1298.8507,-797.0130,1084.0078, cx,cy,cz))
{
//Secret Intelligence Service izlaz
SetPlayerPos(playerid, 1126.6790,-2037.3330,69.8835);
GameTextForPlayer(playerid, "~w~Los Santos",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 0);
PlayerInfo = 0;
}
else if (PlayerToPointStripped(1, playerid,1111.9219,-1795.2560,16.5938, cx,cy,cz))
{
I evo moje koordinate od mjesta sto sam htio da bude izlaz i ulaz
AddPlayerClass(0,2216.3401,-1150.5100,1025.7969,270.0000,0,0,0,0,0,0); // izlaz (izlaz je unutra)
AddPlayerClass(0,2230.7883,-1159.5709,25.8253,267.0116,0,0,0,0,0,0); // ulaz (ulaz je izvan)
AKO SAM NESTO POGRIJESIO ISPRAVITE ME! (izvinite na caps ali ozbiljno je)
Enforcer
Balkan SA:MP
SA-MP Doprinos
Balkan SA:MP
SA-MP DoprinosNovi Član
90 / 100 XP
Početnik(0)
245
Postovi:
46
Teme:
Pridružio se:Jan. 2010
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava