Advertisement
Guest User

Untitled

a guest
Apr 11th, 2010
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. #define COLOR_RED 0xFF0000AA
  2. #define RED 0xF60000AA
  3. #include <a_samp>
  4. #define FILTERSCRIPT
  5.  
  6. public OnFilterScriptInit()
  7. {
  8. print("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
  9. print(" ");
  10. print("> [FS] Style Race by Rockline loaded! <");
  11. print(" ");
  12. print("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
  13. CreateVehicle(541,-350.1589,2617.0977,1245.3556,268.4891,99,57,6); //
  14. CreateVehicle(541,-350.4608,2605.6545,1245.3447,268.4883,99,57,6); //
  15. CreateVehicle(541,-349.9277,2625.8579,1245.3433,268.4884,99,57,6); //
  16. CreateVehicle(541,-349.6543,2636.2222,1245.3423,268.4884,99,57,6); //
  17. CreateVehicle(541,-330.4137,2635.7014,1245.3569,267.4542,99,57,5); //
  18. CreateVehicle(541,-331.6051,2608.9189,1245.3313,267.4537,99,57,5); //
  19. CreateVehicle(541,-388.1874,2606.2080,1245.3325,268.6313,99,57,5); //
  20. CreateVehicle(541,-389.8508,2619.6184,1245.0709,268.6395,99,57,5); //
  21. CreateVehicle(541,-389.6801,2626.8645,1244.9116,268.6395,99,57,5); //
  22. CreateVehicle(541,-389.4761,2637.1567,1245.5104,268.8661,99,57,5); //
  23. CreateVehicle(541,-399.7755,2637.3584,1245.3899,268.8689,99,57,5); //
  24. CreateVehicle(541,-402.7498,2631.5081,1245.3556,268.8657,99,57,5); //
  25. CreateVehicle(541,-402.8441,2626.7986,1245.2906,268.8657,99,57,5); //
  26. CreateVehicle(541,-403.0529,2616.3755,1245.1470,268.8657,99,57,5); //
  27. CreateVehicle(541,-403.1946,2609.2966,1245.0494,268.8657,99,57,5); //
  28. CreateObject(16430, 1097.6434326172, 2621.9104003906, 12.388061523438, 0, 39.699981689453, 0);
  29. CreateObject(16430, 976.93774414063, 2622.0393066406, 112.55996704102, 0, 39.699096679688, 0);
  30. CreateObject(16430, 855.8056640625, 2621.8427734375, 213.17778015137, 0, 39.699096679688, 0);
  31. CreateObject(16430, 760.90325927734, 2622.0178222656, 291.98663330078, 0, 39.699096679688, 0);
  32. CreateObject(16430, 528.36926269531, 2621.7685546875, 484.67260742188, 0, 39.699096679688, 0);
  33. CreateObject(16430, 639.7451171875, 2621.8173828125, 392.46768188477, 0, 39.699096679688, 0);
  34. CreateObject(16430, 185.22564697266, 2621.8427734375, 910.05950927734, 0, 39.699096679688, 0);
  35. CreateObject(16430, 375.5319519043, 2622.0183105469, 677.81018066406, 0, 85.354125976563, 0);
  36. CreateObject(16430, 440.8974609375, 2622.046875, 557.38842773438, 0, 39.699096679688, 0);
  37. CreateObject(16430, 307.564453125, 2621.8564453125, 808.47955322266, 0, 39.699096679688, 0);
  38. CreateObject(16430, 64.022125244141, 2621.703125, 1010.6668701172, 0, 39.699096679688, 0);
  39. CreateObject(16430, -32.469097137451, 2621.6398925781, 1090.7263183594, 0, 39.699096679688, 0);
  40. CreateObject(16430, -248.98135375977, 2621.7348632813, 1225.1840820313, 0, 13.894104003906, 0);
  41. CreateObject(16430, -109.9072265625, 2621.73046875, 1154.9857177734, 0, 39.699096679688, 0);
  42. CreateObject(8040, -366.50704956055, 2621.271484375, 1245.4967041016, 0, 0, 0);
  43. return 1;
  44. }
  45.  
  46. public OnPlayerCommandText(playerid, cmdtext[])
  47. {
  48. if (strcmp(cmdtext, "/StyleRace", true) == 0)
  49. {
  50. GivePlayerWeapon(playerid, 46,10);
  51. SetPlayerPos(playerid, -393.7542,2616.1567,1327.1632);
  52. return 1;
  53. }
  54. return 0;
  55. }
  56.  
  57. public OnPlayerSpawn(playerid)
  58. {
  59. SetPlayerCheckpoint(playerid, 1101.7853,2621.7686,10.8203, 100.0);
  60. return 1;
  61. }
  62.  
  63. public OnPlayerEnterCheckpoint(playerid)
  64. {
  65. GivePlayerMoney(playerid, 10000);
  66. DisablePlayerCheckpoint(playerid);
  67. new name[ 24 ], string[ 64 ];
  68. GetPlayerName( playerid, name, 24 );
  69. // Format the passed-away message properly, and show it to everyone!
  70. format( string, sizeof(string), "~r~%s~n~~w~ has wonned the Style Race!", name );
  71. GameTextForAll(string, 5000, 3);
  72. return 1;
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement