• Страница 1 из 1
  • 1
[RP] Аренда велосипедов в Лос-Сантосе
Дмитрий Дата: Четверг, 09.01.2014, 13:27 | Сообщение # 1 | Сообщить о нерабочей теме


Аватар для Дмитрий

[admin]Автор:Frezz[/admin]

Как всегда делать автору было нечего , ну так вот и решил он сделать простую аренду велосипедов.

[spoiler="Скриншоты"]



[/spoiler]

Цитата
ко всем define [если у вас нету этих цветов]

Код
#define COLOR_RED 0xAA3333AA  
#define COLOR_WHITE 0xFFFFFFAA  
#define COLOR_LIGHTBLUE 0x33CCFFAA  


Цитата
Ко всем new:

Код
vrent[2];  
verent[MAX_PLAYERS];  


Цитата
В public OnGameModeInit вставляем это

Код
Create3DTextLabel("Если хотите арендовать велосипед наберите: {F75976}/rentbike", COLOR_WHITE, 1302.0999755859,-1879.3000488281,13.60000038147, 5.0, 0, 0);  
     CreatePickup(1239,23,1302.0999755859,-1879.3000488281,13.60000038147,-1);  
     CreatePickup(1239,23,1302.0999755859,-1879.3000488281,13.60000038147,-1);  
     vrent[0] = AddStaticVehicleEx(509,1295.40002441,-1879.59997559,13.19999981,321.25000000,-1,-1,15); //Bike  
     vrent[0] = AddStaticVehicleEx(509,1295.40002441,-1879.59997559,13.19999981,321.25000000,-1,-1,15); //Bike  
     AddStaticVehicleEx(510,1303.90002441,-1873.90002441,13.30000019,124.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1303.90002441,-1873.90002441,13.30000019,124.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1302.00000000,-1873.90002441,13.30000019,123.99719238,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1302.00000000,-1873.90002441,13.30000019,123.99719238,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(509,1297.90002441,-1879.59997559,13.19999981,321.24572754,-1,-1,15); //Bike  
     AddStaticVehicleEx(509,1297.90002441,-1879.59997559,13.19999981,321.24572754,-1,-1,15); //Bike  
     AddStaticVehicleEx(510,1296.50000000,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1296.50000000,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1298.40002441,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1298.40002441,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1300.30004883,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1300.30004883,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1302.40002441,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1302.40002441,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1304.40002441,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(510,1304.40002441,-1870.30004883,13.19999981,0.00000000,-1,-1,15); //Mountain Bike  
     AddStaticVehicleEx(481,1304.40002441,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1304.40002441,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1302.40002441,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1302.40002441,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1300.19995117,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1300.19995117,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1298.30004883,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1298.30004883,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1296.40002441,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(481,1296.40002441,-1863.09997559,13.19999981,180.00000000,-1,-1,15); //BMX  
     AddStaticVehicleEx(509,1289.19995117,-1863.19995117,13.10000038,270.00000000,-1,-1,15); //Bike  
     AddStaticVehicleEx(509,1289.19995117,-1863.19995117,13.10000038,270.00000000,-1,-1,15); //Bike  
     AddStaticVehicleEx(509,1289.19995117,-1865.40002441,13.10000038,270.00000000,-1,-1,15); //Bike  
     AddStaticVehicleEx(509,1289.19995117,-1865.40002441,13.10000038,270.00000000,-1,-1,15); //Bike  
     AddStaticVehicleEx(509,1289.19995117,-1867.90002441,13.10000038,270.00000000,-1,-1,15); //Bike  
     AddStaticVehicleEx(509,1289.19995117,-1867.90002441,13.10000038,270.00000000,-1,-1,15); //Bike  
     AddStaticVehicleEx(509,1289.19995117,-1870.30004883,13.10000038,270.00000000,-1,-1,15); //Bike  
     AddStaticVehicleEx(509,1289.19995117,-1870.30004883,13.10000038,270.00000000,-1,-1,15); //Bike  
     vrent[1] = AddStaticVehicleEx(509,1289.19995117,-1872.69995117,13.10000038,270.00000000,-1,-1,15); //Bike  
     vrent[1] = AddStaticVehicleEx(509,1289.19995117,-1872.69995117,13.10000038,270.00000000,-1,-1,15); //Bike  
     CreateObject(2395,1302.00000000,-1875.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (12)  
     CreateObject(2395,1302.00000000,-1875.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (12)  
     CreateObject(2395,1298.30004883,-1875.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (13)  
     CreateObject(2395,1298.30004883,-1875.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (13)  
     CreateObject(2395,1294.59997559,-1875.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (14)  
     CreateObject(2395,1294.59997559,-1875.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (14)  
     CreateObject(2395,1294.59960938,-1877.69921875,12.60000038,269.98901367,0.00000000,0.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1294.59960938,-1877.69921875,12.60000038,269.98901367,0.00000000,0.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1298.30004883,-1877.69995117,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (16)  
     CreateObject(2395,1298.30004883,-1877.69995117,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (16)  
     CreateObject(2395,1302.00000000,-1877.69995117,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (17)  
     CreateObject(2395,1302.00000000,-1877.69995117,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (17)  
     CreateObject(2395,1302.00000000,-1880.30004883,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (19)  
     CreateObject(2395,1302.00000000,-1880.30004883,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (19)  
     CreateObject(2395,1298.30004883,-1880.30004883,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (20)  
     CreateObject(2395,1298.30004883,-1880.30004883,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (20)  
     CreateObject(2395,1294.59997559,-1880.30004883,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (21)  
     CreateObject(2395,1294.59997559,-1880.30004883,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (21)  
     CreateObject(2395,1294.59997559,-1883.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (22)  
     CreateObject(2395,1294.59997559,-1883.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (22)  
     CreateObject(2395,1298.30004883,-1883.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (23)  
     CreateObject(2395,1298.30004883,-1883.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (23)  
     CreateObject(2395,1302.00000000,-1883.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (24)  
     CreateObject(2395,1302.00000000,-1883.00000000,12.60000038,269.99450684,0.00000000,0.00000000); //object(cj_sports_wall) (24)  
     CreateObject(8650,1294.09960938,-1887.39941406,11.69999981,0.00000000,0.00000000,0.00000000); //object(shbbyhswall06_lvs) (1)  
     CreateObject(8650,1294.09960938,-1887.39941406,11.69999981,0.00000000,0.00000000,0.00000000); //object(shbbyhswall06_lvs) (1)  
     CreateObject(1523,1294.40002441,-1872.30004883,12.39999962,0.00000000,0.00000000,0.00000000); //object(gen_doorext10) (1)  
     CreateObject(1523,1294.40002441,-1872.30004883,12.39999962,0.00000000,0.00000000,0.00000000); //object(gen_doorext10) (1)  
     CreateObject(8650,1294.09997559,-1887.40002441,13.89999962,0.00000000,0.00000000,0.00000000); //object(shbbyhswall06_lvs) (3)  
     CreateObject(8650,1294.09997559,-1887.40002441,13.89999962,0.00000000,0.00000000,0.00000000); //object(shbbyhswall06_lvs) (3)  
     CreateObject(8650,1311.19995117,-1872.40002441,13.89999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall06_lvs) (4)  
     CreateObject(8650,1311.19995117,-1872.40002441,13.89999962,0.00000000,0.00000000,90.00000000); //object(shbbyhswall06_lvs) (4)  
     CreateObject(8650,1311.19995117,-1872.40002441,11.69999981,0.00000000,0.00000000,90.00000000); //object(shbbyhswall06_lvs) (5)  
     CreateObject(8650,1311.19995117,-1872.40002441,11.69999981,0.00000000,0.00000000,90.00000000); //object(shbbyhswall06_lvs) (5)  
     CreateObject(3851,1300.09997559,-1882.09997559,15.00000000,0.00000000,90.00000000,90.00000000); //object(carshowwin_sfsx) (2)  
     CreateObject(3851,1300.09997559,-1882.09997559,15.00000000,0.00000000,90.00000000,90.00000000); //object(carshowwin_sfsx) (2)  
     CreateObject(3851,1300.09997559,-1874.19995117,15.00000000,0.00000000,90.00000000,90.00000000); //object(carshowwin_sfsx) (4)  
     CreateObject(3851,1300.09997559,-1874.19995117,15.00000000,0.00000000,90.00000000,90.00000000); //object(carshowwin_sfsx) (4)  
     CreateObject(3851,1300.09997559,-1878.09997559,15.00000000,0.00000000,90.00000000,90.00000000); //object(carshowwin_sfsx) (5)  
     CreateObject(3851,1300.09997559,-1878.09997559,15.00000000,0.00000000,90.00000000,90.00000000); //object(carshowwin_sfsx) (5)  
     CreateObject(2395,1296.50000000,-1872.90002441,12.19999981,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1296.50000000,-1872.90002441,12.19999981,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1300.19995117,-1872.90002441,12.19999981,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1300.19995117,-1872.90002441,12.19999981,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1303.59997559,-1872.90002441,12.19999981,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1303.59997559,-1872.90002441,12.19999981,0.00000000,0.00000000,0.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1304.90002441,-1873.30004883,12.19999981,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1304.90002441,-1873.30004883,12.19999981,0.00000000,0.00000000,270.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1304.90002441,-1877.00000000,12.19999981,0.00000000,0.00000000,269.99450684); //object(cj_sports_wall) (15)  
     CreateObject(2395,1304.90002441,-1877.00000000,12.19999981,0.00000000,0.00000000,269.99450684); //object(cj_sports_wall) (15)  
     CreateObject(2395,1304.90002441,-1880.69995117,12.19999981,0.00000000,0.00000000,269.99450684); //object(cj_sports_wall) (15)  
     CreateObject(2395,1304.90002441,-1880.69995117,12.19999981,0.00000000,0.00000000,269.99450684); //object(cj_sports_wall) (15)  
     CreateObject(2395,1304.50000000,-1880.50000000,12.19999981,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1304.50000000,-1880.50000000,12.19999981,0.00000000,0.00000000,180.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1300.80004883,-1880.50000000,12.19999981,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (15)  
     CreateObject(2395,1300.80004883,-1880.50000000,12.19999981,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (15)  
     CreateObject(2395,1297.69995117,-1880.50000000,12.19999981,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (15)  
     CreateObject(2395,1297.69995117,-1880.50000000,12.19999981,0.00000000,0.00000000,179.99450684); //object(cj_sports_wall) (15)  
     CreateObject(2395,1294.59997559,-1880.09997559,12.19999981,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1294.59997559,-1880.09997559,12.19999981,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1294.59997559,-1876.40002441,12.19999981,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1294.59997559,-1876.40002441,12.19999981,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1294.59997559,-1875.59997559,12.19999981,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2395,1294.59997559,-1875.59997559,12.19999981,0.00000000,0.00000000,90.00000000); //object(cj_sports_wall) (15)  
     CreateObject(2599,1294.09997559,-1871.69995117,13.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sex_shop_sign) (1)  
     CreateObject(2599,1294.09997559,-1871.69995117,13.00000000,0.00000000,0.00000000,0.00000000); //object(cj_sex_shop_sign) (1)  
     CreateObject(2626,1303.09997559,-1879.30004883,13.00000000,0.00000000,0.00000000,270.00000000); //object(cj_urb_counter) (1)  
     CreateObject(2626,1303.09997559,-1879.30004883,13.00000000,0.00000000,0.00000000,270.00000000); //object(cj_urb_counter) (1)  
     CreateObject(2372,1296.80004883,-1880.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(clothes_rail2) (1)  
     CreateObject(2372,1296.80004883,-1880.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(clothes_rail2) (1)  
     CreateObject(2372,1296.09997559,-1878.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(clothes_rail2) (2)  
     CreateObject(2372,1296.09997559,-1878.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(clothes_rail2) (2)  
     CreateObject(2372,1303.09997559,-1874.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(clothes_rail2) (3)  
     CreateObject(2372,1303.09997559,-1874.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(clothes_rail2) (3)  
     CreateObject(2372,1304.59997559,-1874.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(clothes_rail2) (4)  
     CreateObject(2372,1304.59997559,-1874.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(clothes_rail2) (4)  
     CreateObject(2372,1302.50000000,-1874.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(clothes_rail2) (5)  
     CreateObject(2372,1302.50000000,-1874.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(clothes_rail2) (5)  
     CreateObject(2372,1301.09997559,-1874.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(clothes_rail2) (6)  
     CreateObject(2372,1301.09997559,-1874.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(clothes_rail2) (6)  
     CreateObject(2372,1298.30004883,-1878.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(clothes_rail2) (9)  
     CreateObject(2372,1298.30004883,-1878.50000000,12.50000000,0.00000000,0.00000000,90.00000000); //object(clothes_rail2) (9)  
     CreateObject(2372,1299.00000000,-1880.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(clothes_rail2) (10)  
     CreateObject(2372,1299.00000000,-1880.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(clothes_rail2) (10)  
     CreateObject(997,1301.80004883,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (1)  
     CreateObject(997,1301.80004883,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (1)  
     CreateObject(997,1298.69995117,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (2)  
     CreateObject(997,1298.69995117,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (2)  
     CreateObject(997,1295.59997559,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (3)  
     CreateObject(997,1295.59997559,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (3)  
     CreateObject(997,1287.40002441,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (4)  
     CreateObject(997,1287.40002441,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (4)  
     CreateObject(997,1290.50000000,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (5)  
     CreateObject(997,1290.50000000,-1862.30004883,12.50000000,0.00000000,0.00000000,0.00000000); //object(lhouse_barrier3) (5)  
     CreateObject(997,1287.40002441,-1880.40002441,12.50000000,0.00000000,0.00000000,90.00000000); //object(lhouse_barrier3) (6)  
     CreateObject(997,1287.40002441,-1880.40002441,12.50000000,0.00000000,0.00000000,90.00000000); //object(lhouse_barrier3) (6)  
     CreateObject(1215,1295.69995117,-1862.19995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)  
     CreateObject(1215,1295.69995117,-1862.19995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (1)  
     CreateObject(1215,1293.59997559,-1862.19995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)  
     CreateObject(1215,1293.59997559,-1862.19995117,13.10000038,0.00000000,0.00000000,0.00000000); //object(bollardlight) (2)  
     CreateObject(1226,1304.40002441,-1867.40002441,16.39999962,0.00000000,0.00000000,0.00000000); //object(lamppost3) (2)  
     CreateObject(1226,1304.40002441,-1867.40002441,16.39999962,0.00000000,0.00000000,0.00000000); //object(lamppost3) (2)  
     CreateObject(1226,1288.19995117,-1865.59997559,16.39999962,0.00000000,0.00000000,179.99450684); //object(lamppost3) (5)  
     CreateObject(1226,1288.19995117,-1865.59997559,16.39999962,0.00000000,0.00000000,179.99450684); //object(lamppost3) (5)  
     CreateObject(1226,1288.19995117,-1873.00000000,16.39999962,0.00000000,0.00000000,179.99450684); //object(lamppost3) (6)  


Цитата
Потом в OnPlayerDisconnect

Код
verent[playerid] = 0;  


Цитата
В public OnPlayerEnterVehicle

Код
if(vehicleid >= vrent[0] && vehicleid <= vrent[1])  
     {  
         new Float:slx, Float:sly, Float:slz;  
         GetPlayerPos(playerid, slx, sly, slz);  
         if(verent[playerid] != 1) { SendClientMessage(playerid,COLOR_RED,"Вы не можете использовать этот транспорт."); SetPlayerPos(playerid, slx, sly, slz); }  
     }  


Цитата
Создаём команду для аренды вело, суём в public OnPlayerCommandText

Код
if(!strcmp("/rentbike", cmdtext))  
     {  
         if(!IsPlayerInRangeOfPoint(playerid, 2.0, 1302.0999755859,-1879.3000488281,13.60000038147)) return SendClientMessage(playerid,COLOR_RED,"Вы не у аренды велосипедов.");  
         if(verent[playerid] != 0) return SendClientMessage(playerid,COLOR_RED,"Вы уже арендовали велосипед.");  
         ShowPlayerDialog(playerid,277,DIALOG_STYLE_MSGBOX,"{0B8205}Аренда велосипедов","{FFFFFF}Продавец: вы действительно хотите арендовать велосипед?\nСтоимость: 1000$!","Согласен","Отмена");  
     }


Цитата
В public OnDialogResponse

Код
if(dialogid == 277)  
     {  
         if(!response) return 1;  
         if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid,COLOR_RED,"Продавец: У вас 1000$");   
         SendClientMessage(playerid,COLOR_LIGHTBLUE,"Продавец: садись на любой велосипед на парковке и катайся сколько хочешь."); GivePlayerMoney(playerid,-1000); verent[playerid] = 1;  
     }  
Прикрепления: 6164537.jpg (57.6 Kb) · 6879439.jpg (63.0 Kb) · 7008490.jpg (11.0 Kb)


From Russia With Love!
  • Страница 1 из 1
  • 1
Поиск: