it's possible?
#1

i have custom interior for my garage system
when people entering it they start falling, i have tried multiple times to fix it, but i don't know how.
it works fine if you have no vehicle.
it's possible to freeze the vehicle or something? because it only freezes the players
Notice: it works in my home host perfect because dat ping is low..
LoadObjects it shows a textdraw and freezes the players.
Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
	new tmpcar = GetPlayerVehicleID(playerid);
	if(IsPlayerInVehicle(playerid, tmpcar))
	{
		SetPlayerVirtualWorld(playerid, idx+10);
		SetPlayerInterior(playerid,0);
		SetVehicleVirtualWorld(tmpcar, idx+10);
		LinkVehicleToInterior(tmpcar, 0);
		LoadObjects(playerid);
		SetVehiclePos(tmpcar,InfoGarage[idx][gInteriorX],InfoGarage[idx][gInteriorY],InfoGarage[idx][gInteriorZ]+3);
		SetVehicleZAngle(tmpcar,InfoGarage[idx][gInteriorA]);
		format(string, sizeof(string), "* Welcome, %s - Type /park , to park your vehicle - (To get out type /exit) **", PlayerName(playerid));
		SendClientMessage(playerid, COLOR_BLANCO, string);
		return 1;
	}
}
Reply


Messages In This Thread
it's possible? - by Antoniohl - 28.02.2015, 06:50
Re: it's possible? - by HY - 28.02.2015, 08:30
Respuesta: it's possible? - by CuervO - 28.02.2015, 08:34
Re: it's possible? - by Antoniohl - 28.02.2015, 08:35
Re: Respuesta: it's possible? - by Antoniohl - 28.02.2015, 08:43
Re: it's possible? - by $$inSane - 28.02.2015, 09:07

Forum Jump:


Users browsing this thread: 1 Guest(s)