Advertisement
FamiliaSAMP

Placas De Trânsitos Não Personalizadas

Apr 4th, 2015
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. /////PLACAS DE TRÂNSITO NÃO PERSONALIZADAS [FAMÍLIA SAMP]
  2.  
  3. //CODIGO
  4.  
  5. CreateTrafficSign(signid, Float:x, Float:y, Float:z, Float:rz, Float:viewdistance = 200.0, string[] = "")
  6.  
  7. signid - Sign id
  8. Float:x - Position X
  9. Float:y - Position Y
  10. Float:z - Position Z
  11. Float:rz - Angle
  12. Float:viewdistance - The draw distance signal
  13. string[] - Served for some particular signals. (maximum speed, minimum speed and maximum tons)
  14.  
  15. returns the ID of the signal (to be destroyed later)
  16.  
  17. //CODIGO
  18.  
  19. DestroyTrafficSign(signid)
  20.  
  21. signid - The signal (the ID, not the type of signal)
  22.  
  23. //CODIGO
  24.  
  25. IsValidTrafficSign(signid)
  26.  
  27. signid - The signal (the ID, not the type of signal)
  28.  
  29. //SINAIS
  30.  
  31. #define SIGN_STOP 0
  32. #define SIGN_YIELD 1
  33. #define SIGN_PROHIBITED 2
  34. #define SIGN_PROHIBITED2 3
  35. #define SIGN_CROSSWALK 4
  36. #define SIGN_MAXVELOCITY 5
  37. #define SIGN_MINVELOCITY 6
  38. #define SIGN_MAXTONNE 7
  39. #define SIGN_WALKERONLY 8
  40. #define SIGN_BIKEONLY 9
  41. #define SIGN_BIKEPROHIBITED 10
  42. #define SIGN_PROHIBITEDDIR1 11
  43. #define SIGN_PROHIBITEDDIR2 12
  44. #define SIGN_PROHIBITEDDIR3 13
  45. #define SIGN_PROHIBITEDDIR4 14
  46. #define SIGN_GODIR1 15
  47. #define SIGN_GODIR2 16
  48. #define SIGN_GODIR3 17
  49. #define SIGN_GODIR4 18
  50. #define SIGN_TAXI 19
  51. #define SIGN_BUS 20
  52. #define SIGN_PARKING1 21
  53. #define SIGN_PARKING2 22
  54.  
  55.  
  56. //FAMÍLIA SAMP - TODOS OS DIREITOS RESERVADOS. PLÁGIO É CRIME DENUNCIE !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement