Guest User

Untitled

a guest
Apr 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.75 KB | None | 0 0
  1. public OnPlayerUpdate(playerid)
  2. {
  3.     if(IsPlayerInAnyVehicle(playerid))
  4.     {
  5.         new keys,updown,leftright;
  6.         GetPlayerKeys(playerid,keys,updown,leftright);
  7.         if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  8.         {
  9.           //--------------------------------------------------------------------
  10.           if(keys == updown)
  11.           TextDrawSetString(VehicleTextDraw3[playerid], "~b~TRANSMIS: ~w~R ~g~N D");
  12.           //--------------------------------------------------------------------
  13.           else if(keys == updown)
  14.           TextDrawSetString(VehicleTextDraw3[playerid], "~b~TRANSMIS: ~g~R N ~w~D");
  15.           //--------------------------------------------------------------------
  16.           TextDrawSetString(VehicleTextDraw3[playerid], "~b~TRANSMIS: ~g~R ~w~N ~g~D");
  17.         }
  18.     }
  19.     return 1;
  20. }
Add Comment
Please, Sign In to add comment