Advertisement
Guest User

Placa Nos Taxi

a guest
Dec 28th, 2012
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.44 KB | None | 0 0
  1. // _____NEW VERSION_____//
  2.  
  3. /* Premier Taxi FS by Flashbrot ©
  4. **************************************
  5. Do not release this FS (without my permission)!
  6. Traduzido Por Capao_DATP
  7. WWW.BLOGDOSAMP.COM.BR
  8.  
  9. Version 0.2
  10. */
  11.  
  12. #include <a_samp>
  13.  
  14. #pragma tabsize 0 // <-- deletes warning "loose indentation"
  15.  
  16. new taxi;
  17. new taxi2;
  18. new taxi3;
  19.  
  20. #if defined FILTERSCRIPT
  21.  
  22. public OnFilterScriptInit()
  23. {
  24. print("\n***************************************");
  25. print(" Sistema de Taxi: Capao DATP");
  26. print("Copyright by Flashbrot\n");
  27. print("Do not remove Copyright \n");
  28. print("Do not release it ! Do not release it as your own!\n");
  29. print("Traduzido Por: Capao DATP");
  30. print("****************************************\n");
  31. return 1;
  32. }
  33.  
  34. public OnFilterScriptExit()
  35. {
  36. return 1;
  37. }
  38.  
  39. #else
  40.  
  41. main()
  42. {
  43. print("\n----------------------------------");
  44. print(" Sistema de Taxi; Capao DATP");
  45. print("----------------------------------\n");
  46. }
  47.  
  48. #endif
  49.  
  50. public OnGameModeInit()
  51. {
  52. taxi = CreateObject(19309,0,0,-1000,0,0,0,100);
  53. taxi2 = CreateObject(19309,0,0,-1000,0,0,0,100);
  54. taxi3 = CreateObject(19309,0,0,-1000,0,0,0,100);
  55. return 1;
  56. }
  57.  
  58. public OnGameModeExit()
  59. {
  60. return 1;
  61. }
  62.  
  63. public OnPlayerConnect(playerid)
  64. {
  65. SendClientMessage(playerid, 0xFFFFFFFF,"Este Server Usa o FS de Taxi de: Capao_DATP");
  66. // ^ You can remove this if you want ^
  67. return 1;
  68. }
  69.  
  70. public OnVehicleDeath(vehicleid)
  71. {
  72. DestroyObject(taxi);
  73. DestroyObject(taxi2);
  74. DestroyObject(taxi3);
  75. return 1;
  76. }
  77.  
  78. public OnPlayerCommandText(playerid, cmdtext[])
  79. {
  80. if (strcmp("/taxion", cmdtext, true, 10) == 0)
  81. {
  82. AttachObjectToVehicle(taxi, GetPlayerVehicleID(playerid), 0.000000,-0.225000,0.899999,0.000000,0.000000,-89.099983);
  83. AttachObjectToVehicle(taxi2, GetPlayerVehicleID(playerid), 0.000000,-2.775000,-0.149999,0.000000,0.000000,-89.099983);
  84. AttachObjectToVehicle(taxi3, GetPlayerVehicleID(playerid), 0.000000,2.400000,0.000000,0.000000,0.000000,-89.099983);
  85. GameTextForPlayer(playerid, "~b~Seu TAXI agora esta ~n~~r~Em Serviço", 6000,3);
  86. return 1;
  87. }
  88. if (strcmp("/taxioff", cmdtext, true, 10) == 0)
  89. {
  90. DestroyObject(taxi);
  91. DestroyObject(taxi2);
  92. DestroyObject(taxi3);
  93. GameTextForPlayer(playerid, "~b~Seu TAXI agora esta ~n~~r~Fora de Serviço", 6000,3);
  94. return 1;
  95. }
  96.  
  97. return 0;
  98. }
  99. //******************************************************************
  100. //Have Fun ! --> FS by Flashbrot
  101. //Tradução ! Capao_DATP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement