Igrac propada kad se spawnuje u pd
656
pregleda
10
postova
31. Mar. 2018.
Vasić wrote on March 31, 2018, 3:33 pm:
Objasni Detaljnije i koristi Formular.
Pa brt jednostavno kad igrac odabere na /promenispawn bazu npr. ako je lider pd...posto se samo kod te org desava...da kad izabere..i h loguje se...on pada s neba...umjesto da bude u objektu ili slic...gdje je vec bilo namjesteno da se spawnuje...i kako da nadem u skripti taj dio gdje dode amo spawn skripta za pd lidera... 😢 😢 😢
31. Mar. 2018.
M!chaeL wrote on March 31, 2018, 3:40 pm:
Nisi namestio dobro kordinate, ili u opste kordinate ne postoje ili nemas int pda
interijer pd-a imam...eh zanima me kako da nadem te kordinate i kako da napravim kordinatu za spawn...
😢 😢 😢
31. Mar. 2018.
Banks22 wrote on March 31, 2018, 3:45 pm:
doÄ‘i do mjesta gdje bi se trebao igraÄ spawnati kucaj /save i dobijeÅ¡ koordinate u SAMP mapu i onda te koordinate stavi u skriptu gdje imaÅ¡ spawnanje igraÄa
a nmg da nadem te kordinate gdje su skriptane...
imal ikakva pocetna skripta gdje bi ja mogao pronaci...tj posebna linija koda za to...
31. Mar. 2018.
Banks22 wrote on March 31, 2018, 3:45 pm:
doÄ‘i do mjesta gdje bi se trebao igraÄ spawnati kucaj /save i dobijeÅ¡ koordinate u SAMP mapu i onda te koordinate stavi u skriptu gdje imaÅ¡ spawnanje igraÄa
Nasao sam ove linije koda samo sto se tice spawn baze...ali ne pise nigdje da je za pd...
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
stock SpawnIgraca(playerid)
{
g_SetPlayerHealth(playerid, 99.0); /*vrataspawn = false; vrataspawn2 = false;*/
if(PlayerInfo == SPAWN_BAZA)
{
if(PlayerInfo == 1 || PlayerInfo == 1)
{
SetPlayerPos(playerid, 1477.2086,-1780.2563,3288.7859);
SetPlayerInterior(playerid, 0);
SetPlayerColor(playerid, 0x2641FEAA);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 2 || PlayerInfo == 2)
{
SetPlayerPos(playerid, 2125.8074,-2278.5754,20.6643);
SetPlayerInterior(playerid, 0);
}
else if(PlayerInfo == 3 || PlayerInfo == 3)
{
SetPlayerPos(playerid, 1329.0504,-638.9127,14280.8857);
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 4 || PlayerInfo == 4)
{
SetPlayerPos(playerid, 323.8689,1127.7897,1083.882😎;
SetPlayerInterior(playerid, 5);
}
else if(PlayerInfo == 5 || PlayerInfo == 5)
{
SetPlayerPos(playerid, 2451.1052,-1688.5116,1013.507😎;
SetPlayerInterior(playerid, 2);
}
else if(PlayerInfo == 6 || PlayerInfo == 6)
{
SetPlayerPos(playerid, 1785.8721,-1797.5588,-43.3141);
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
g_GivePlayerWeapon(playerid, 43, 50);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 7 || PlayerInfo == 7)
{
SetPlayerPos(playerid, 1477.2086,-1780.2563,3288.7859);
SetPlayerInterior(playerid, 0);
SetPlayerColor(playerid, 0x2641FEAA);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 8 || PlayerInfo == 😎
{
SetPlayerPos(playerid, 1072.2762,-888.2515,43.3932);
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 9 || PlayerInfo == 9)
{
SetPlayerPos(playerid, 1727.7302,-1668.0768,22.6094);
SetPlayerInterior(playerid, 1😎;
SetPlayerHealth(playerid, 99.0);
SetPlayerArmour(playerid, 99.0);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 10 || PlayerInfo == 10)
{
SetPlayerPos(playerid, 86.0131,-367.7830,1007.4500);
SetPlayerInterior(playerid, 1😎;
SetPlayerHealth(playerid, 99.0);
SetPlayerArmour(playerid, 99.0);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 11 || PlayerInfo == 11)
{
SetPlayerPos(playerid, -248.9203,642.6801,1057.5750);
SetPlayerInterior(playerid, 1😎;
SetPlayerHealth(playerid, 99.0);
SetPlayerArmour(playerid, 99.0);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 12 || PlayerInfo == 12)
{
SetPlayerPos(playerid, -647.2507,1594.5308,1028.2859);
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
else if(PlayerInfo == 13 || PlayerInfo == 13)
{
SetPlayerPos(playerid, -652.7674,1576.0548,1030.403😎;
SetPlayerInterior(playerid, 0);
TogglePlayerControllable(playerid, 0);
freeze = SetTimerEx("Freeze",3000, false, "i", playerid);
new string;
PlayerTextDrawShow(playerid, InfoBox);
PlayerTextDrawShow(playerid, InfoText);
format(string, sizeof(string), "~y~loading objects");
SCM(playerid, -1, ""ZELENA"(("BELA" BF:RP"SIVA" ~ Ucitavanje objekata, sacekajte nekoliko sekundi"ZELENA" ))");
PlayerTextDrawSetString(playerid, InfoText, string);
}
/////////////////////////////////////////////////////////////////////////
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava
