LLC is bugged.
#1

Hello!
I have seen Lowrider Tuning Garage problem, location is Los Santos Stadium near that garage (tuning).
I take anywhat cars (lowrider) and i go into garage, then show's tuning stuff, now car respawn's, and i'm stucked in tuning, cant move or do anything, just reconnecting.
This problem is still active over 2 week's, and peoples are angry, still wait when it's fixed. I need you all help, please just!
Reply
#2

Well, make sure your server isn't respawning the cars with people in then.
Reply
#3

You mean SetVehicleToRespawn? If yes, then i checked up, still isn't problem there's.

_________________________________________________
_________________________________________________

Код:
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
#4

Run a BLANK script and try it, if the bug doesn't remain, it's a bug within your gamemode, if it does remain, post this in 'Bug Reports' thread.
Reply
#5

Quote:
Originally Posted by Joe_
Run a BLANK script and try it, if the bug doesn't remain, it's a bug within your gamemode, if it does remain, post this in 'Bug Reports' thread.
Now today runned and tested, that LLC worked. But i dont see my GM problem's. (mistakes) :S Anyone can help? :S
Reply
#6

Can anyone help??
Reply
#7

About this respawning, try this:

pawn Код:
stock IsVehicleOccupied(vehicleid)
{
for(new i; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i) && IsPlayerInAnyVehicle(i) && GetPlayerVehicleID(i) == vehicleid) return 1;
}
return 0;
I use it to check if the vehicle is occupied. Is there anything like that in your script?
Reply
#8

How would (inefficiently) checking if a vehicle is occupied resolve the problem?

It could be anything - check OnPlayerInteriorChange and OnPlayerEnterExitModShop.

The vehicle may not necessary be respawning. Debug OnVehicleSpawn.
Reply
#9

Quote:
Originally Posted by _Jay_
How would (inefficiently) checking if a vehicle is occupied resolve the problem?

It could be anything - check OnPlayerInteriorChange and OnPlayerEnterExitModShop.

The vehicle may not necessary be respawning. Debug OnVehicleSpawn.
I have only that:
Код:
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
  if((newinteriorid == 5 || newinteriorid == 2 || newinteriorid == 12) && GetPlayerVirtualWorld(playerid) == 0) SetPlayerVirtualWorld(playerid, 1);
	if((oldinteriorid == 5 || oldinteriorid == 2 || oldinteriorid == 12) && newinteriorid == 0 && GetPlayerVirtualWorld(playerid) == 1) SetPlayerVirtualWorld(playerid, 0);
	return 1;
}
And i don't have OnPlayerEnterExitModShop in script.
Reply
#10

Thats why you shouldn't use a GF edit.

You should post this problem in edits' thread.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)