Player gets frozen when ejected out of a vehicle
#1

Hi I am creating faction only vehicles and it works completely how it is supposed to however once the player is ejected he gets frozen and the only way to get unfrozen is by relogging.

Code:
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
    {
        new car = GetPlayerVehicleID(playerid);
        for(new i = 0; i < sizeof(LSPDVehicles); i++)
        {
            if(car == LSPDVehicles[i])
            {
                if(PlayerInfo[playerid][Faction] != 1)
                {
                    ClearAnimations(playerid);
                    RemovePlayerFromVehicle(playerid);
                    SendClientMessage(playerid, -1, "You don`t have the keys for this car.");
                }
            }
        }
    return 1;
    }
Reply


Messages In This Thread
Player gets frozen when ejected out of a vehicle - by NewerthRoleplay - 26.09.2012, 14:43

Forum Jump:


Users browsing this thread: 2 Guest(s)