Gguiz007

Untitled

May 13th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. public OnPlayerStateChange(playerid, newstate, oldstate) {
  2. case PLAYER_STATE_PASSENGER:
  3. {
  4. if (APlayerData[pid][LoggedIn] == true)
  5. {
  6. new engine, lights, alarm, doors, bonnet, boot, objective;
  7. GetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
  8. SetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective);
  9. }
  10. }
  11. return 1;
  12. }
Add Comment
Please, Sign In to add comment