ScriptzMoDz

Driving a car [COD4] [GSC]

Aug 14th, 2014
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. oModelChange()
  2.  
  3.  
  4. {
  5.  
  6.  
  7. self endon( "death" );
  8.  
  9.  
  10. self endon( "disconnect" );
  11.  
  12.  
  13.  
  14.  
  15.  
  16. for (;;)
  17.  
  18.  
  19. {
  20.  
  21.  
  22. if ( self GetStance() == "prone") { //Will only work in
  23. prone with this enabled
  24.  
  25.  
  26.  
  27.  
  28.  
  29. self waittill( "weapon_change" );
  30.  
  31.  
  32. self waittill( "grenade_pullback" );
  33.  
  34.  
  35. self setModel( "vehicle_80s_sedan1_red_destructible_mp"
  36. );
  37.  
  38.  
  39. self setClientDvar( "cg_thirdPerson", "1" ); //Sets
  40. third person to show car
  41.  
  42.  
  43. self setClientDvar( "cg_thirdPersonRange", "220" );
  44. //Shows the range of third person
  45.  
  46.  
  47. wait 0.1;
  48.  
  49.  
  50. self thread mapsmpgametypes_hud_message::hintMessage("You're a
  51. ^1RED ^7Car!"); //Displays a message to the user
  52.  
  53.  
  54. }
  55.  
  56.  
  57. }
  58.  
  59.  
  60. }
Advertisement
Add Comment
Please, Sign In to add comment