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);
|