[Pomoc]ne vide se objekti kod prepreka/barikada


Započeo Limdzaâ„¢, Jul 20, 2014, 15:58:31 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:NG:RP
Detaljan opis problema:kada kucam /prepreka 1 - da postavim prepreku ono pise Prepreka postavljena ali se ne postavi :/
Dio skripte:
CMD:prepreka(playerid, params[])
{
    //#pragma unused help
	//#pragma unused params
    if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"FarkiAS | "CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
	if(PlayerInfo[playerid][pClan] != 1 && PlayerInfo[playerid][pLider] != 1) return SendClientMessage(playerid,-1,""PLAVA"[GRESKA] "SIVA"Samo clanovi LSPD!");
	if(PolicajacNaDuznosti[playerid] == 0) return SendClientMessage(playerid, -1, ""PLAVA"(LSPD) "SIVA"Niste uzeli znacku(duznost) pa nemozete koristi tu komandu!");
	if(PlayerInfo[playerid][pRank] < 3) return SCM(playerid, -1, ""PLAVA"[GRESKA] "BELA"Morate biti rank 3+ da bi koristili ovu komandu!");
	new id,Float:A; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A);
	if(sscanf(params, "i", id))
	{
		SCM(playerid, -1, ""PPLAVA"HG:RP Pomoc | "BELA"/prepreka [Prepreke (1-6)]");
		SCM(playerid, -1, "|------------------PREPREKE-----------------|");
		SCM(playerid, -1, ""PPLAVA"(1). "BELA"M - Za Gume");
		SCM(playerid, -1, ""PPLAVA"(2). "BELA"V - Za Gume");
		SCM(playerid, -1, ""PPLAVA"(3). "BELA"Obicna Prepreka");
		SCM(playerid, -1, ""PPLAVA"(4). "BELA"Obicna Prepreka");
		SCM(playerid, -1, ""PPLAVA"(5). "BELA"Obicna Prepreka");
		SCM(playerid, -1, ""PPLAVA"(6). "BELA"Obicna Prepreka");
		SCM(playerid, -1, "|------------------------------------------------|");
		return 1;
	}
	if(id == 1)
	{
		if(Prepreka1Kreirana[playerid] == false)
		{
			Prepreka1[playerid] = CreateObject(2899, X+5, Y, Z-0.9, 0.0, 0.0, A+180);
			Prepreka1Kreirana[playerid] = true;
			SCM(playerid, -1, ""SIVA"INFO | "BELA"Postavili ste prepreku!");
		}
		else return SCM(playerid, -1, ""PLAVA"(GRESKA) "BELA"Vec imate kreiranu tu prepreku.");
	}
	else if(id == 2)
	{
		if(Prepreka2Kreirana[playerid] == false)
		{
			Prepreka2[playerid] = CreateObject(2892, X+5, Y, Z-1, 0.0, 0.0, A+180);
			Prepreka2Kreirana[playerid] = true;
			SCM(playerid, -1, ""SIVA"INFO | "BELA"Postavili ste prepreku!");
		}
		else return SCM(playerid, -1, ""PLAVA"(GRESKA) "BELA"Vec imate kreiranu tu prepreku.");
	}
	else if(id == 3)
	{
		if(Prepreka3Kreirana[playerid] == false)
		{
			Prepreka3[playerid] = CreateObject(1238, X+5, Y, Z-0.5, 0.00000000, 0.00000000, 0.00000000);
			Prepreka3Kreirana[playerid] = true;
			SCM(playerid, -1, ""SIVA"INFO | "BELA"Postavili ste prepreku!");
		}
		else return SCM(playerid, -1, ""PLAVA"(GRESKA) "BELA"Vec imate kreiranu tu prepreku.");
	}
	else if(id == 4)
	{
		if(Prepreka4Kreirana[playerid] == false)
		{
			Prepreka4[playerid] = CreateObject(1435, X+5, Y, Z-0.5, 0.00000000, 0.00000000, 0.00000000);
			Prepreka4Kreirana[playerid] = true;
			SCM(playerid, -1, ""SIVA"INFO | "BELA"Postavili ste prepreku!");
		}
		else return SendClientMessage(playerid, -1, ""PLAVA"(GRESKA) "BELA"Vec imate kreiranu tu prepreku.");
    }
    else if(id == 5)
	{
		if(Prepreka5Kreirana[playerid] == false)
		{
			Prepreka5[playerid] = CreateObject(1434, X+5, Y, Z-0.5, 0.00000000, 0.00000000, 0.00000000);
			Prepreka5Kreirana[playerid] = true;
			SCM(playerid, -1, ""SIVA"INFO | "BELA"Postavili ste prepreku!");
		}
		else return SCM(playerid, -1, ""PLAVA"(GRESKA) "BELA"Vec imate kreiranu tu prepreku.");
	}
	else if(id == 6)
	{
		if(Prepreka6Kreirana[playerid] == false)
		{
			Prepreka6[playerid] = CreateObject(1459, X+5, Y, Z-0.5, 0.00000000, 0.00000000, 0.00000000);
			Prepreka6Kreirana[playerid] = true;
			SCM(playerid, -1, ""SIVA"INFO | "BELA"Postavili ste prepreku!");
		}
		else return SCM(playerid, -1, ""PLAVA"(GRESKA) "BELA"Vec imate kreiranu tu prepreku.");
	}
	else return SCM(playerid, -1, ""PLAVA"(GRESKA) "BELA"Pogresan ID prepreke (1-6)!");
	return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno)://


================================================
Radovi:
[FILTERSCRIPT] Jetpack
[FILTERSCRIPT] Glasanje
[MAP] NG Hospital
[MAP] NG Ostrvo

================================================
NouZI Gaming Loading: 30% BaySide
================================================
POTREBAN MAPPER ZA MAPANJE ENTERIJERA
================================================

moguce da ti je do pozicije objekta kreiraj je na player poziciji pa javi.
69

Ubacio sam na starijoj verziji gm-a i tamo se pojave objketi ali na novijoj nesto zeza :/

================================================
Radovi:
[FILTERSCRIPT] Jetpack
[FILTERSCRIPT] Glasanje
[MAP] NG Hospital
[MAP] NG Ostrvo

================================================
NouZI Gaming Loading: 30% BaySide
================================================
POTREBAN MAPPER ZA MAPANJE ENTERIJERA
================================================

Neko pomoc ?

================================================
Radovi:
[FILTERSCRIPT] Jetpack
[FILTERSCRIPT] Glasanje
[MAP] NG Hospital
[MAP] NG Ostrvo

================================================
NouZI Gaming Loading: 30% BaySide
================================================
POTREBAN MAPPER ZA MAPANJE ENTERIJERA
================================================

LOCK

Molimo te da procitas pravila foruma te da onda otvoris temu po pravilima

Zasto ti je tema lockana:

temu možeš bump/dp svako 24h

PRAVILA:

GLAVNA PRAVILA BALKAN SAMP ZAJEDNICE - http://balkan-samp.com/forum/index.php?topic=7045.0

Razgovor u vezi PAWN Skriptanja - http://balkan-samp.com/forum/index.php?topic=11453.0