Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define COLOR_RED 0xFF0000AA
- #define RED 0xF60000AA
- #include <a_samp>
- #define FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- print(" ");
- print("> [FS] Style Race by Rockline loaded! <");
- print(" ");
- print("=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=");
- CreateVehicle(541,-350.1589,2617.0977,1245.3556,268.4891,99,57,6); //
- CreateVehicle(541,-350.4608,2605.6545,1245.3447,268.4883,99,57,6); //
- CreateVehicle(541,-349.9277,2625.8579,1245.3433,268.4884,99,57,6); //
- CreateVehicle(541,-349.6543,2636.2222,1245.3423,268.4884,99,57,6); //
- CreateVehicle(541,-330.4137,2635.7014,1245.3569,267.4542,99,57,5); //
- CreateVehicle(541,-331.6051,2608.9189,1245.3313,267.4537,99,57,5); //
- CreateVehicle(541,-388.1874,2606.2080,1245.3325,268.6313,99,57,5); //
- CreateVehicle(541,-389.8508,2619.6184,1245.0709,268.6395,99,57,5); //
- CreateVehicle(541,-389.6801,2626.8645,1244.9116,268.6395,99,57,5); //
- CreateVehicle(541,-389.4761,2637.1567,1245.5104,268.8661,99,57,5); //
- CreateVehicle(541,-399.7755,2637.3584,1245.3899,268.8689,99,57,5); //
- CreateVehicle(541,-402.7498,2631.5081,1245.3556,268.8657,99,57,5); //
- CreateVehicle(541,-402.8441,2626.7986,1245.2906,268.8657,99,57,5); //
- CreateVehicle(541,-403.0529,2616.3755,1245.1470,268.8657,99,57,5); //
- CreateVehicle(541,-403.1946,2609.2966,1245.0494,268.8657,99,57,5); //
- CreateObject(16430, 1097.6434326172, 2621.9104003906, 12.388061523438, 0, 39.699981689453, 0);
- CreateObject(16430, 976.93774414063, 2622.0393066406, 112.55996704102, 0, 39.699096679688, 0);
- CreateObject(16430, 855.8056640625, 2621.8427734375, 213.17778015137, 0, 39.699096679688, 0);
- CreateObject(16430, 760.90325927734, 2622.0178222656, 291.98663330078, 0, 39.699096679688, 0);
- CreateObject(16430, 528.36926269531, 2621.7685546875, 484.67260742188, 0, 39.699096679688, 0);
- CreateObject(16430, 639.7451171875, 2621.8173828125, 392.46768188477, 0, 39.699096679688, 0);
- CreateObject(16430, 185.22564697266, 2621.8427734375, 910.05950927734, 0, 39.699096679688, 0);
- CreateObject(16430, 375.5319519043, 2622.0183105469, 677.81018066406, 0, 85.354125976563, 0);
- CreateObject(16430, 440.8974609375, 2622.046875, 557.38842773438, 0, 39.699096679688, 0);
- CreateObject(16430, 307.564453125, 2621.8564453125, 808.47955322266, 0, 39.699096679688, 0);
- CreateObject(16430, 64.022125244141, 2621.703125, 1010.6668701172, 0, 39.699096679688, 0);
- CreateObject(16430, -32.469097137451, 2621.6398925781, 1090.7263183594, 0, 39.699096679688, 0);
- CreateObject(16430, -248.98135375977, 2621.7348632813, 1225.1840820313, 0, 13.894104003906, 0);
- CreateObject(16430, -109.9072265625, 2621.73046875, 1154.9857177734, 0, 39.699096679688, 0);
- CreateObject(8040, -366.50704956055, 2621.271484375, 1245.4967041016, 0, 0, 0);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp(cmdtext, "/StyleRace", true) == 0)
- {
- GivePlayerWeapon(playerid, 46,10);
- SetPlayerPos(playerid, -393.7542,2616.1567,1327.1632);
- return 1;
- }
- return 0;
- }
- public OnPlayerSpawn(playerid)
- {
- SetPlayerCheckpoint(playerid, 1101.7853,2621.7686,10.8203, 100.0);
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- GivePlayerMoney(playerid, 10000);
- DisablePlayerCheckpoint(playerid);
- new name[ 24 ], string[ 64 ];
- GetPlayerName( playerid, name, 24 );
- // Format the passed-away message properly, and show it to everyone!
- format( string, sizeof(string), "~r~%s~n~~w~ has wonned the Style Race!", name );
- GameTextForAll(string, 5000, 3);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement