28.02.2015, 06:50
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.
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;
}
}


