All errors is {AttachObjectToVehicle}!
#1

Hello,i have added that neon dialog but i got that errors

Код:
if(dialogid == NEON_DIALOG)
        {
        if(response)
                {
			if(listitem ==  0)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon",CreateObject(18648,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon1",CreateObject(18648,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon1"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 1)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon2",CreateObject(18647,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon3",CreateObject(18647,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon2"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon3"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 2)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon4",CreateObject(18649,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon5",CreateObject(18649,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon4"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon5"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 3)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon6",CreateObject(18652,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon7",CreateObject(18652,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon6"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon7"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 4)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon8",CreateObject(18651,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon9",CreateObject(18651,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon8"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon9"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 5)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon10",CreateObject(18650,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon11",CreateObject(18650,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon10"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon11"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 6)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon12",CreateObject(18646,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon13",CreateObject(18646,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon12"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon13"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 7)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"interior",CreateObject(18646,0,0,0,0,0,0));
				SetPVarInt(playerid,"interior1",CreateObject(18646,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"interior"),GetPlayerVehicleID(playerid),0,-0.0,0,2.0,2.0,3.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"interior1"),GetPlayerVehicleID(playerid),0,-0.0,0,2.0,2.0,3.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 8)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"back",CreateObject(18646,0,0,0,0,0,0));
				SetPVarInt(playerid,"back1",CreateObject(18646,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"back"),GetPlayerVehicleID(playerid),-0.0,-1.5,-1,2.0,2.0,3.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"back1"),GetPlayerVehicleID(playerid),-0.0,-1.5,-1,2.0,2.0,3.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 9)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"front",CreateObject(18646,0,0,0,0,0,0));
				SetPVarInt(playerid,"front1",CreateObject(18646,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"front"),GetPlayerVehicleID(playerid),-0.0,1.5,-0.6,2.0,2.0,3.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"front1"),GetPlayerVehicleID(playerid),-0.0,1.5,-0.6,2.0,2.0,3.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 10)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"undercover",CreateObject(18646,0,0,0,0,0,0));
				SetPVarInt(playerid,"undercover1",CreateObject(18646,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"undercover"),GetPlayerVehicleID(playerid),-0.5,-0.2,0.8,2.0,2.0,3.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"undercover1"),GetPlayerVehicleID(playerid),-0.5,-0.2,0.8,2.0,2.0,3.0);
			    GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 11)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon",CreateObject(18648,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon1",CreateObject(18648,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon1"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
 		 		GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 12)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon8",CreateObject(18651,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon9",CreateObject(18651,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon8"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon9"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 13)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon10",CreateObject(18650,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon11",CreateObject(18650,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon10"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon11"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 14)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon12",CreateObject(18648,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon13",CreateObject(18648,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon14",CreateObject(18649,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon15",CreateObject(18649,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon12"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon13"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon14"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon15"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 15)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon16",CreateObject(18648,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon17",CreateObject(18648,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon18",CreateObject(18652,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon19",CreateObject(18652,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon16"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon17"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon18"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon19"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
   			    GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 16)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon20",CreateObject(18647,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon21",CreateObject(18647,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon22",CreateObject(18652,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon23",CreateObject(18652,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon20"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon21"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon22"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon23"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 17)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon24",CreateObject(18647,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon25",CreateObject(18647,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon26",CreateObject(18650,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon27",CreateObject(18650,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon24"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon25"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon26"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon27"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);

			}
			if(listitem == 18)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon28",CreateObject(18649,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon29",CreateObject(18649,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon30",CreateObject(18652,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon31",CreateObject(18652,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon28"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon29"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon30"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon31"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 19)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon32",CreateObject(18652,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon33",CreateObject(18652,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon34",CreateObject(18650,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon35",CreateObject(18650,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon32"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon33"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon34"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon35"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 20)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon12",CreateObject(18653,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon13",CreateObject(18653,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon12"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon13"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 21)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon14",CreateObject(18654,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon15",CreateObject(18654,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon14"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon15"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);

			}
			if(listitem == 22)
			{
				SetPVarInt(playerid,"Status",1);
				SetPVarInt(playerid,"neon16",CreateObject(18655,0,0,0,0,0,0));
				SetPVarInt(playerid,"neon17",CreateObject(18655,0,0,0,0,0,0));
				AttachObjectToVehicle(GetPVarInt(playerid,"neon16"),GetPlayerVehicleID(playerid),-0.8,0.0,-0.70,0.0,0.0,0.0);
				AttachObjectToVehicle(GetPVarInt(playerid,"neon17"),GetPlayerVehicleID(playerid),0.8,0.0,-0.70,0.0,0.0,0.0);
    			GameTextForPlayer(playerid, "Neon Installed.", 1000, 4);
			}
			if(listitem == 23)
			{
				DestroyObject(GetPVarInt(playerid,"neon"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon1"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon2"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon3"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon4"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon5"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon6"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon7"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon8"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon9"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon10"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon11"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon12"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon13"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon14"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon15"));DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon16"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon17"));DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon1"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon2"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon3"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon4"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon5"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon6"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon7"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon8"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon9"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon10"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon11"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon12"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon13"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon14"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon15"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon16"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon17"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon18"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon19"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon20"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon21"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon22"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon23"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon24"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon25"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon26"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon27"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon28"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon29"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon30"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon31"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon32"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon33"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon34"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon35"));
				DestroyObject(GetPVarInt(playerid,"neon"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon1"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon2"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon3"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon4"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon5"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon6"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon7"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon8"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon9"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon10"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon11"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon12"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon13"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"interior"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"interior1"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"back"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"back1"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"front"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"front1"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"undercover"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"undercover1"));
				DeletePVar(playerid,"Status");
				DestroyObject(GetPVarInt(playerid,"neon"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon1"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon2"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon3"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon4"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon5"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon6"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon7"));
				DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon8"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon9"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon10"));DeletePVar(playerid,"Status");DestroyObject(GetPVarInt(playerid,"neon13"));
				DeletePVar(playerid,"Status");
                }
            return 1;
        }
    }
Reply
#2

Update your a_samp library, because the function was created in 0.3c version.
Reply
#3

thx but can i ask u for a_samp link ?
Reply
#4

SA:MP Official site
Reply
#5

thank you man
u are good helper
Reply
#6

i downloaded latest version for a_samp.inc and it's still get AttachObjectToVehicle errors
Reply
#7

PHP код:
SetPVarInt(playerid,"Status",1); 
Why u repeating this?
Reply
#8

Quote:

SetPVarInt(playerid,"Status",1);

what i must do with that ? delete?
Reply
#9

Quote:
Originally Posted by vikoo
Посмотреть сообщение
what i must do with that ? delete?
try update latest a_samp include. ^^ just downloading http://files.sa-mp.com/samp037_svr_R2-1-1_win32.zip copy a_samp.inc to your folder pawno/include.
Reply
#10

thx (babyze99 - WhiteGhost - VVWVV) it's fixed
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)