Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  2. {
  3. if((newkeys == KEY_LOOK_LEFT) && IsPlayerInAnyVehicle(playerid))
  4. {
  5. SendClientMessage(playerid, COLOR_GROVE, "Turns Left <<<<<<<<<<<");
  6. }
  7.  
  8. else if((newkeys == KEY_LOOK_RIGHT) && IsPlayerInAnyVehicle(playerid))
  9. {
  10. SendClientMessage(playerid, COLOR_GROVE, "Turns Right >>>>>>>>>>>");
  11. }
  12. return 1;
  13. }
  14.  
  15. how can i add an spam so the person doesnt spam and i want the driver to do the turning plz help
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement