01.06.2014, 09:24
I just got problem when i entering building its normal like "Loading..." and wait for 3 seconds but theres was stupid things i've seen which when we entering car there were loading as load building too.. here is my entering...
pawn Код:
if(newkeys & 16 && !IsPlayerInAnyVehicle(playerid))
{
if(PlayerTemp[playerid][key_enter] == 2)
{
CheckExit(playerid);
CheckEnter(playerid);
TogglePlayerControllable(playerid, 0);
GameTextForPlayer(playerid, "Loading..", 4000, 5);
SetPVarInt(playerid, "LoadingObjects", 1);
SetTimerEx("SafeLoadObjects", 5000, 0, "d", playerid);
}