Players keep falling throw objects in cars.
#9

Quote:
Originally Posted by SAMProductions
Посмотреть сообщение
Try This :-
pawn Код:
forward LoadingF(playerid);
public LoadingF(playerid)
{
    new vehID = GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective;
    TogglePlayerControllable(playerid, 1);
    GetVehicleParamsEx(vehID, engine, lights, alarm, doors, bonnet, boot, objective);
    SetVehicleParamsEx(vehID, 1, lights, alarm, doors, bonnet, boot, objective);
    return 1;
}
Add this to your Sumo Command :-
pawn Код:
new vehID = GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective;
    TogglePlayerControllable(playerid, 0);
    GetVehicleParamsEx(vehID, engine, lights, alarm, doors, bonnet, boot, objective);
    SetVehicleParamsEx(vehID, 0, lights, alarm, doors, bonnet, boot, objective);
    SetTimerEx("LoadingF", 2000, 0, "d", playerid);
    GameTextForPlayer(playerid,"~w~Waiting for the Environments to Load.", 2000, 3);
Dint work im still falling :/
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)