Lowrider Tuning Garage
#1

Los Santos Stadium, near that LLC (Lowrider tuning garage)

I enter garage with slavman (lowrider car) and in tuning, then car *respawned* off, and i'm stuck in garage tuning without car.

:/
Reply
#2

Cars don't just respawn. It is something in the script.
Reply
#3

Quote:
Originally Posted by $ЂЯĢ
Cars don't just respawn. It is something in the script.
Hmm? What i do see in script?
Reply
#4

There must be something that respawned your Slamvan.
Reply
#5

Quote:
Originally Posted by $ЂЯĢ
There must be something that respawned your Slamvan.
That's wierd.. I checked all, no one any what makes it respawn (like checking is car in LCC then spawning)

Код:
if(HireCar[playerid] != 299)
	{
		gLastDriver[HireCar[playerid]] = 300;
		gCarLock[HireCar[playerid]] = 0;
		UnLockCar(HireCar[playerid]);
		if(reason != 0)
		{
			SetVehicleToRespawn(HireCar[playerid]);
		}
	}
Код:
else if(PlayerToPoint(5.0,playerid,2055.9575,-1924.6010,13.4655))
			{
			  new Float:health;
			  new veh;
			  veh = GetPlayerVehicleID(playerid);
			  GetVehicleHealth(veh, health);
  		  if(health >= 800.0)
			  {
	  	  	SendClientMessage(playerid,COLOR_GREEN,"STAATUS: Auto On Peaaegu Terve, Test Lдbitud.");
			  	PlayerInfo[playerid][pCarLic] = 1;
			  	SetVehicleToRespawn(veh);
			  	DrivingTest[playerid] = 0;
		  	 	DisablePlayerCheckpoint(playerid);
			  }
			  else
			  {
					SendClientMessage(playerid,COLOR_RED,"STAATUS: Sa Ei Lдbinud Testi, Ehk Veab Teinekord Paremini!");
					SetVehicleToRespawn(veh);
					DrivingTest[playerid] = 0;
					DisablePlayerCheckpoint(playerid);
			  }
        DrivingStep[playerid] = 0;
			}
Код:
else if(level >= 401)
			{
			  new money = 6000;
			  format(string, sizeof(string), "You sold a car for $%d, your reload time is 12 minutes.", money);
				SendClientMessage(playerid, COLOR_WHITE, string);
				SafeGivePlayerMoney(playerid, money);
			  PlayerInfo[playerid][pCarTime] = 720;
			}
			GameTextForPlayer(playerid, "~y~Sold the car", 2500, 1);
			CP[playerid] = 0;
		  DisablePlayerCheckpoint(playerid);
		  SetVehicleToRespawn(GetPlayerVehicleID(playerid));
Код:
if (IsABus(vehicleid) && GetPlayerState(i) == 2 && PlayerInfo[i][pJob] != 14)
			{
				SetVehicleToRespawn(vehicleid);
			}
Код:
else if(UnloadTankerTime[i] == 15)
			  {
			    UnloadTankerTime[i] = 0;
					TogglePlayerControllable(i, 1);
		    	Gas[tmpcar] = GasMax;
  		  	SetVehicleToRespawn(GetPlayerVehicleID(i));
    			SetVehicleToRespawn(tmptrailer);
			  }
OnGameModeInit
Код:
for(new v=0; v<MAX_VEHICLES; v++)
	{
	  SetVehicleToRespawn(v); // Respawnib autosi
	}
Код:
public BusrouteEnd(playerid, vehicleid)
{
	if (BusrouteEast[playerid][0] != 0 || BusrouteWest[playerid][0] != 0)
	{
		SendClientMessage(playerid, COLOR_BLUE, "Bus route ended.");
		GameTextForPlayer(playerid, "~r~Bus Route Ended", 5000, 3);
		PlayerPlaySound(playerid, 1055, 0.0, 0.0, 0.0);
	}
	DisablePlayerCheckpoint(playerid);
	if (vehicleid != 0) SetVehicleToRespawn(vehicleid);
	BusrouteEast[playerid][0] = 0;
	BusrouteEast[playerid][1] = 0;
	//BusrouteEast[playerid][2] = 0;
	BusrouteWest[playerid][0] = 0;
	BusrouteWest[playerid][1] = 0;
	//BusrouteWest[playerid][2] = 0;
	return 1;
}
Reply
#6

I don't see any mistakes, or is that SAMP bug?
Reply
#7

It's for sure a script bug because nobody ever saw this 'bug' before, me neither.
Reply
#8

Quote:
Originally Posted by WackoX
It's for sure a script bug because nobody ever saw this 'bug' before, me neither.
What bug is? Or how i can fix it? I don't see any bug's.
Reply
#9

Hmm it happend to me with Ladmin4v2 i spawned cars with the /car command


And they disapear after i get a chance to get in them.
Reply
#10

Quote:
Originally Posted by (Jay)
Hmm it happend to me with Ladmin4v2 i spawned cars with the /car command


And they disapear after i get a chance to get in them.
You did fixed? If yes, then how did you fixed?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)