Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerStateChange(playerid, newstate, oldstate) {
- case PLAYER_STATE_PASSENGER:
- {
- if (APlayerData[pid][LoggedIn] == true)
- {
- new engine, lights, alarm, doors, bonnet, boot, objective;
- GetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
- SetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
- }
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment