SHOW:
|
|
- or go back to the newest paste.
1 | #include <a_samp> | |
2 | ||
3 | #define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1 | |
4 | ||
5 | public OnFilterScriptInit() | |
6 | { | |
7 | CreateObject(18449,2323.763,1292.213,87.267,0.0,-54.144,-90.000); | |
8 | CreateObject(18449,2323.747,1245.947,151.341,0.0,-54.144,-90.000); | |
9 | CreateObject(18449,2323.739,1199.798,215.205,0.0,-54.144,-90.000); | |
10 | CreateObject(18449,2323.742,1153.041,279.953,0.0,-54.144,-90.000); | |
11 | CreateObject(18449,2323.742,1107.013,343.658,0.0,-54.144,-90.000); | |
12 | CreateObject(18449,2323.731,1061.188,407.109,0.0,-54.144,-90.000); | |
13 | CreateObject(18449,2323.730,1014.802,471.349,0.0,-54.144,-90.000); | |
14 | CreateObject(18449,2323.736,968.450,535.526,0.0,-54.144,-90.000); | |
15 | CreateObject(18449,2323.740,921.735,600.190,0.0,-54.144,-90.000); | |
16 | CreateObject(18449,2323.749,875.174,664.675,0.0,-54.144,-90.000); | |
17 | CreateObject(18449,2323.732,828.831,728.805,0.0,-54.144,-90.000); | |
18 | CreateObject(18449,2323.741,783.786,791.133,0.0,-54.144,-90.000); | |
19 | CreateObject(18449,2323.736,738.848,853.372,0.0,-54.144,-90.000); | |
20 | CreateObject(18449,2323.741,692.427,917.617,0.0,-54.144,-90.000); | |
21 | CreateObject(18449,2323.735,646.788,980.799,0.0,-54.144,-90.000); | |
22 | CreateObject(18449,2323.744,600.839,1044.379,0.0,-54.144,-90.000); | |
23 | CreateObject(18449,2323.746,555.362,1107.354,0.0,-54.144,-90.000); | |
24 | CreateObject(18449,2323.751,509.420,1170.970,0.0,-54.144,-90.000); | |
25 | CreateObject(11111,2323.765,469.770,1227.348,-55.004,0.0,0.0); | |
26 | CreateObject(10018,2332.989,404.736,1335.214,0.859,-56.723,-90.000); | |
27 | CreateObject(18449,2321.129,315.795,1459.935,0.0,-56.723,-90.000); | |
28 | CreateObject(18449,2321.108,273.771,1524.003,0.0,-56.723,-90.000); | |
29 | CreateObject(18449,2321.104,232.396,1587.075,0.0,-56.723,-90.000); | |
30 | CreateObject(8040,2320.403,127.527,1687.443,0.0,0.0,-270.000); | |
31 | CreateObject(11392,2321.009,130.655,1686.844,0.0,0.0,0.0); | |
32 | CreateObject(11326,2303.864,90.393,1688.996,0.0,0.0,0.0); | |
33 | CreateObject(11393,2323.695,92.754,1688.368,0.0,0.0,-90.000); | |
34 | CreateObject(14826,2318.584,96.406,1692.799,0.0,0.0,-45.000); | |
35 | CreateObject(3461,2323.350,98.474,1685.099,0.0,0.0,0.0); | |
36 | CreateObject(3461,2322.275,98.607,1685.049,0.0,0.0,0.0); | |
37 | CreateObject(3461,2321.174,98.550,1685.099,0.0,0.0,0.0); | |
38 | CreateObject(3461,2320.128,98.633,1685.124,0.0,0.0,0.0); | |
39 | CreateObject(3461,2319.152,98.619,1685.124,0.0,0.0,0.0); | |
40 | CreateObject(3461,2317.228,98.610,1685.124,0.0,0.0,0.0); | |
41 | CreateObject(3461,2318.154,98.592,1685.112,0.0,0.0,0.0); | |
42 | CreateObject(3461,2316.316,98.606,1685.124,0.0,0.0,0.0); | |
43 | CreateObject(3461,2315.288,98.654,1685.099,0.0,0.0,0.0); | |
44 | CreateObject(3461,2314.313,98.592,1685.099,0.0,0.0,0.0); | |
45 | CreateObject(1215,2324.496,98.659,1691.899,0.0,0.0,0.0); | |
46 | CreateObject(1226,2333.711,91.568,1690.552,0.0,0.0,-33.750); | |
47 | CreateObject(1231,2320.182,146.377,1689.580,0.0,0.0,-78.750); | |
48 | CreateObject(1231,2320.099,129.941,1689.580,0.0,0.0,-180.000); | |
49 | CreateObject(1238,2323.698,98.521,1687.036,0.0,0.0,0.0); | |
50 | CreateObject(1238,2314.055,98.472,1686.996,0.0,0.0,0.0); | |
51 | CreateObject(3666,2311.797,166.805,1687.199,0.0,0.0,0.0); | |
52 | CreateObject(3666,2312.391,167.122,1687.199,0.0,0.0,0.0); | |
53 | CreateObject(3666,2329.563,166.552,1687.191,0.0,0.0,0.0); | |
54 | CreateObject(3666,2329.044,167.038,1687.191,0.0,0.0,0.0); | |
55 | CreateObject(18449,2321.111,189.106,1653.060,0.0,-56.723,-90.000); | |
56 | CreateObject(3666,2323.729,88.805,1686.958,0.0,0.0,0.0); | |
57 | CreateObject(3666,2320.109,140.670,1686.687,0.0,0.0,0.0); | |
58 | CreateObject(621,2334.282,90.937,1686.581,0.0,0.0,0.0); | |
59 | CreateObject(1634,2328.185,1319.206,53.184,-47.269,0.859,1.719); | |
60 | CreateObject(1634,2324.081,1319.183,53.215,-47.269,0.859,0.859); | |
61 | CreateObject(1634,2319.951,1319.161,53.267,-47.269,0.859,0.859); | |
62 | CreateObject(1655,2322.279,1327.009,52.230,-19.767,0.0,-1.719); | |
63 | CreateObject(1655,2325.914,1326.887,52.222,-19.767,0.0,-1.719); | |
64 | CreateObject(1696,2322.101,1519.121,42.828,0.0,0.0,0.0); | |
65 | CreateObject(1696,2317.005,1519.118,42.828,0.0,0.0,0.0); | |
66 | CreateObject(1696,2332.641,1519.128,42.828,0.0,0.0,0.0); | |
67 | CreateObject(1696,2338.129,1519.131,42.823,0.0,0.0,0.0); | |
68 | CreateObject(1696,2311.579,1519.118,42.828,0.0,0.0,0.0); | |
69 | return 1; | |
70 | } | |
71 | ||
72 | public OnPlayerCommandText(playerid, cmdtext[]) | |
73 | { | |
74 | dcmd(lvj, 3, cmdtext); | |
75 | return 0; | |
76 | } | |
77 | ||
78 | dcmd_lvj(playerid, params[]) | |
79 | { | |
80 | #pragma unused params | |
81 | ||
82 | new vehicleid = GetPlayerVehicleID(playerid); | |
83 | new LvjCar; | |
84 | ||
85 | if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) | |
86 | { | |
87 | GameTextForPlayer(playerid,"~w~Welcome to ~r~/lvj ~n~~w~by ~b~Augis~w~!",5000,4); | |
88 | LinkVehicleToInterior(vehicleid,0); | |
89 | SetPlayerInterior(playerid,0); | |
90 | SetVehicleZAngle(GetPlayerVehicleID(playerid), 175.3); | |
91 | SetVehiclePos(vehicleid,2320.3630,108.9126,1687.8492); | |
92 | } | |
93 | SetPlayerFacingAngle(playerid, 175.3); | |
94 | SetPlayerPos(playerid,2320.3630,108.9126,1687.8492); | |
95 | SetPlayerInterior(playerid,0); | |
96 | GameTextForPlayer(playerid,"~w~Welcome to ~r~/lvj ~n~~w~by ~b~Augis~w~!",5000,4); | |
97 | LvjCar = CreateVehicle(411,2320.3630,108.9126,1687.8492, 175.3, 169, 169, -1); | |
98 | PutPlayerInVehicle(playerid, LvjCar, 0); | |
99 | return 1; | |
100 | } | |
101 | ||
102 | public OnPlayerConnect(playerid) | |
103 | { | |
104 | - | SendClientMessage(playerid, 0xFFFF00AA, "Visit /lvj by Augis!"); |
104 | + | SendClientMessage(playerid, 0xFFFF00AA, "Stunt Road by Niko1!"); |
105 | return 1; | |
106 | } |