[POMOC]Errori

Započeo Marcony.amx, Mart 11, 2014, 15:53:25 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skriptu koju koristim:EGRP
Detaljan opis problema:Znaci izbaci mi ove erroe
AttachObjectToVehicle(lspdnatpis300, vatrogasci[7], 1.1254, -0.2681, 0.0634, 0.000000, 0.000000, 90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis300, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis301, vatrogasci[7], -1.1254, -0.2681, 0.0634, 0.000000, 0.000000, -90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis301, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis302, vatrogasci[8], 1.1254, -0.2681, 0.0634, 0.000000, 0.000000, 90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis302, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis303, vatrogasci[8], -1.1254, -0.2681, 0.0634, 0.000000, 0.000000, -90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis303, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis304, vatrogasci[9], 1.1254, -0.2681, 0.0634, 0.000000, 0.000000, 90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis304, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis305, vatrogasci[9], -1.1254, -0.2681, 0.0634, 0.000000, 0.000000,-90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis305, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

To ubacujem sa Old Team moda na EGRP sve ubacim al ne kuzim ovo gdje se mora ubaciti ovo mozda sam na pogresno mjesto ubacio
POMOC
Dio skripte_/


Sabo aj mi molim te ubaci ovo u mod evo ti mod http://www.solidfiles.com/d/6b4a4b5fd5/Novo_WinRAR_arhiva.rar ili bilo ko ko zna hvala
new pozar1;
new pozar3;
new pozar4;
new pozar5;
new pozar6;

new VatraEquip[MAX_PLAYERS];

new Pozarcic = 0;
new Float:PozarX, Float:PozarY, Float:PozarZ;

    new randpozar = random(300000)+1350000;
	SetTimer("Pozar", randpozar, 1);

if(HOLDING( KEY_FIRE ))
{
if(IsPlayerInRangeOfPoint(playerid, 7, PozarX, PozarY, PozarZ))
{
if(Pozarcic == 1)
{
if(GetPlayerWeapon(playerid) == 42)
{
if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16)
{
if(VatraEquip[playerid] == 1)
{
GameTextForPlayer(playerid, "~w~Gasite ~r~vatru~w~!~n~Prskajte ~r~vatru ~b~10 sekundi~n~~w~da biste je ugasili~n~i zaradili novac!", 3000, 3);
SetTimerEx("TestGasenje",10000, false, "i", playerid);
}
}
}
}
}
}

if(HOLDING( KEY_FIRE | KEY_HANDBRAKE))
{
if(IsPlayerInRangeOfPoint(playerid, 7, PozarX, PozarY, PozarZ))
{
if(Pozarcic == 1)
{
if(GetPlayerWeapon(playerid) == 42)
{
if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16)
{
if(VatraEquip[playerid] == 1)
{
GameTextForPlayer(playerid, "~w~Gasite ~r~vatru~w~!~n~Prskajte ~r~vatru ~b~10 sekundi~n~~w~da biste je ugasili~n~i zaradili novac!", 3000, 3);
SetTimerEx("TestGasenje",10000, false, "i", playerid);
}
}
}
}
}
}

FUNCTION: TestGasenje(playerid)
{
	if(IsPlayerInRangeOfPoint(playerid, 5, PozarX, PozarY, PozarZ))
	{
		if(Pozarcic == 1)
		{
			if(GetPlayerWeapon(playerid) == 42)
			{
                if(PlayerInfo[playerid][pClan] == 16 || PlayerInfo[playerid][pLider] == 16)
				{
					if(VatraEquip[playerid] == 1)
					{
						if(IsPlayerShooting(playerid))
						{
							GameTextForPlayer(playerid, "~w~Ugasili ste ~r~vatru~w~!", 3000, 4);
							Pozarcic = 0;
							PozarX = 0;
							PozarY = 0;
							PozarZ = 0;
							new novac = random(400)+800;
							PlayerInfo[playerid][pPlata] += novac;
							SCMF(playerid, SVETLOZUTA, "* Ugasili ste vatru i zaradili ste: $%d.",novac);
							SCMF(playerid, SVETLOZUTA, "* Sada se vratite do vatrogasne stanice da obucete vase staro odelo.");
							new str[128];
							format(str, 128, "{1AE6D1}[Vijesti] {D92638}Pozar je ugasen. Pohvala za vatrogasnu jedinicu!");
							SCMTA(BELA2, str);
							DestroyObject(pozar1);
							DestroyObject(pozar3);
							DestroyObject(pozar4);
							DestroyObject(pozar5);
							DestroyObject(pozar6);
						}
					}
				}
			}
		}
	}
	return 1;
}
FUNCTION: Pozar()
{
	new rand = random(6)+1;
	Pozarcic = 1;
	if(rand == 1)
	{
		PozarX = 2054.5825;
		PozarY = -1248.9137;
		PozarZ = 23.8313;
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		new str[128];
		format(str, 128, "{1AE6D1}[Vijesti] {D92638}Upravo je izbio pozar u oblasti Glen Parka. Molimo sve vatrogasce da krenu!");
		SCMTA(BELA2, str);
		pozar3 = CreateObject(3461, 2056.23, -1250.22, 21.36,   0.00, 0.00, 0.00);
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
            if(PlayerInfo[i][pClan] == 16 || PlayerInfo[i][pLider] == 16)
			{
				SetPlayerCheckpoint(i, 2054.5825,-1248.9137,23.8313, 5.0);
				SCM(i, SCRVENA, "[POZAR]: Izbio je pozar! Mesto pozara oznaceno je na radaru!");
			}
		}
	}
	if(rand == 2)
	{
		PozarX = 1709.5983;
		PozarY = -1697.4121;
		PozarZ = 14.1641;
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		new str[128];
		format(str, 128, "{1AE6D1}[Vijesti] {D92638}Upravo je izbio pozar u oblasti opstine. Molimo sve vatrogasce da krenu!");
		SCMTA(BELA2, str);
		pozar6 = CreateObject(3461, 1708.90, -1697.84, 11.58,   0.00, 0.00, 0.00);
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
            if(PlayerInfo[i][pClan] == 16 || PlayerInfo[i][pLider] == 16)
			{
				SetPlayerCheckpoint(i, 1709.5983,-1697.4121,14.1641, 5.0);
				SCM(i, SCRVENA, "[POZAR]: Izbio je pozar! Mesto pozara oznaceno je na radaru!");
			}
		}
	}
	if(rand == 3)
	{
		PozarX = 1573.4175;
		PozarY = -2236.2119;
		PozarZ = 14.8098;
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		new str[128];
		format(str, 128, "{1AE6D1}[Vijesti] {D92638}Upravo je izbio pozar u oblasti Aerodroma. Molimo sve vatrogasce da krenu!");
		SCMTA(BELA2, str);
		pozar1 = CreateObject(3461, 1573.36, -2237.02, 10.97,   0.00, 0.00, 0.00);
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
            if(PlayerInfo[i][pClan] == 16 || PlayerInfo[i][pLider] == 16)
			{
				SetPlayerCheckpoint(i, 1573.4175,-2236.2119,14.8098, 5.0);
				SCM(i, SCRVENA, "[POZAR]: Izbio je pozar! Mesto pozara oznaceno je na radaru!");
			}
		}
	}
	if(rand == 4)
	{
		PozarX = 1512.2186;
		PozarY = -2059.5305;
		PozarZ = 29.2153;
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		new str[128];
		format(str, 128, "{1AE6D1}[Vijesti] {D92638}Upravo je izbio pozar u oblasti Verdant Bluffsa. Molimo sve vatrogasce da krenu!");
		SCMTA(BELA2, str);
		pozar5 = CreateObject(3461, 1513.51, -2061.54, 26.22,   0.00, 0.00, 0.00);
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
            if(PlayerInfo[i][pClan] == 16 || PlayerInfo[i][pLider] == 16)
			{
				SetPlayerCheckpoint(i, 1512.2186,-2059.5305,29.2153, 5.0);
				SCM(i, SCRVENA, "[POZAR]: Izbio je pozar! Mesto pozara oznaceno je na radaru!");
			}
		}
	}
	if(rand == 5)
	{
		PozarX = 1375.8622;
		PozarY = -1860.2269;
		PozarZ = 14.0010;
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		CreateExplosion(Float:PozarX, Float:PozarY, Float:PozarZ, 7, 100000);
		new str[128];
		format(str, 128, "{1AE6D1}[Vijesti] {D92638}Upravo je izbio pozar u oblasti opstine. Molimo sve vatrogasce da krenu!");
		SCMTA(BELA2, str);
		pozar4 = CreateObject(3461, 1375.04, -1860.97, 11.37,   0.00, 0.00, 0.00);
		for(new i = 0; i < MAX_PLAYERS; i++)
		{
            if(PlayerInfo[i][pClan] == 16 || PlayerInfo[i][pLider] == 16)
			{
				SetPlayerCheckpoint(i, 1375.8622,-1860.2269,14.0010, 5.0);
				SCM(i, SCRVENA, "[POZAR]: Izbio je pozar! Mesto pozara oznaceno je na radaru!");
			}
		}
	}
	return 1;
}


    AttachObjectToVehicle(lspdnatpis300, vatrogasci[7], 1.1254, -0.2681, 0.0634, 0.000000, 0.000000, 90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis300, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis301, vatrogasci[7], -1.1254, -0.2681, 0.0634, 0.000000, 0.000000, -90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis301, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis302, vatrogasci[8], 1.1254, -0.2681, 0.0634, 0.000000, 0.000000, 90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis302, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis303, vatrogasci[8], -1.1254, -0.2681, 0.0634, 0.000000, 0.000000, -90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis303, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis304, vatrogasci[9], 1.1254, -0.2681, 0.0634, 0.000000, 0.000000, 90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis304, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);
    AttachObjectToVehicle(lspdnatpis305, vatrogasci[9], -1.1254, -0.2681, 0.0634, 0.000000, 0.000000,-90.449951); //Object Model: 19327|
    SetObjectMaterialText(lspdnatpis305, "VATROGASCI", 0, OBJECT_MATERIAL_SIZE_256x128,"Arial", 30, 1, 0xFFFFFFFF, 0, OBJECT_MATERIAL_TEXT_ALIGN_CENTER);

Molim te ako mozes
Poz iz Pule :)
Poslednja Izmena: Mart 11, 2014, 19:45:22 POSLE PODNE od Marcony.amx