Оружейная лавка + (Fsc)

Description: Карты для SA-MP

Николае Чаушеску
Topic author
Avatar
Николае Чаушеску
Topic author
Posts: 3
Joined: 5 May 2013
With us: 7 years 6 months

#1by Николае Чаушеску » 5 May 2013, 13:04

Оружейная лавка + (Fsc)
Автор: Я

Представляю вторую версию оружейной лавки, но уже с пикапами. Количество объектов: 106.
Пикапы: Deagle, Sawnoff Shotgun, Shotgun, Micro SMG, M4.

Скриншоты
Image

Image

Image

Image

Код
Объекты

Code: Select all

CreateObject(3113,702.00000000,-1188.79980469,12.80000019,0.00000000,14.99633789,331.49597168);  
CreateObject
(2395,693.70001221,-1177.30004883,14.30000019,0.00000000,0.00000000,330.00000000);  
CreateObject
(2395,696.79998779,-1179.09997559,14.30000019,0.00000000,0.00000000,329.99633789);  
CreateObject
(2395,699.90002441,-1180.90002441,14.30000019,0.00000000,0.00000000,329.99633789);  
CreateObject
(2395,701.79998779,-1182.00000000,14.30000019,0.00000000,0.00000000,329.99633789);   
CreateObject
(2395,693.69921875,-1177.29980469,17.00000000,0.00000000,0.00000000,329.99633789);   
CreateObject
(2395,696.79998779,-1179.09997559,17.00000000,0.00000000,0.00000000,329.99633789);  
CreateObject
(2395,699.90002441,-1180.90002441,17.00000000,0.00000000,0.00000000,329.99633789);  
CreateObject
(2395,701.79998779,-1182.00000000,17.00000000,0.00000000,0.00000000,329.99633789);   
CreateObject
(2395,698.29998779,-1193.90002441,14.30000019,0.00000000,0.00000000,147.99682617);  
CreateObject
(2395,695.20001221,-1192.00000000,14.30000019,0.00000000,0.00000000,147.99682617);   
CreateObject
(2395,692.09997559,-1190.09997559,14.30000019,0.00000000,0.00000000,147.99682617);   
CreateObject
(2395,690.20001221,-1188.90002441,14.30000019,0.00000000,0.00000000,147.99682617);   
CreateObject
(2395,698.29980469,-1193.89941406,17.00000000,0.00000000,0.00000000,147.99682617);  
CreateObject
(2395,695.20001221,-1192.00000000,17.00000000,0.00000000,0.00000000,148.24682617);   
CreateObject
(2395,692.09997559,-1190.09997559,17.00000000,0.00000000,0.00000000,148.24401855);  
CreateObject
(2395,690.09997559,-1188.90002441,17.00000000,0.00000000,0.00000000,146.99401855);   
CreateObject
(8658,686.79998779,-1188.00000000,5.00000000,90.00000000,0.00000000,150.75000000);   
CreateObject
(3113,697.50000000,-1187.69995117,14.30000019,0.00000000,285.00000000,331.49597168);   
CreateObject
(3113,696.00000000,-1186.59960938,14.30000019,0.00000000,284.99084473,328.99108887);   
CreateObject
(964,698.29998779,-1192.90002441,14.89999962,0.00000000,0.00000000,330.00000000); 
CreateObject
(964,697.09997559,-1192.19995117,14.89999962,0.00000000,0.00000000,329.99633789); 
CreateObject
(964,697.89941406,-1192.59960938,15.89999962,0.00000000,0.00000000,329.99633789);  
CreateObject
(964,695.69921875,-1191.50000000,14.89999962,0.00000000,0.00000000,329.99633789);  
CreateObject
(18042,695.50000000,-1184.59997559,15.39999962,0.00000000,0.00000000,329.24926758);  
CreateObject
(1585,693.09960938,-1177.79980469,14.89999962,0.00000000,0.00000000,59.24926758);  
CreateObject
(1584,692.50000000,-1178.80004883,14.89999962,0.00000000,0.00000000,59.25000000);  
CreateObject
(1583,691.79998779,-1179.90002441,14.89999962,0.00000000,0.00000000,59.25000000);  
CreateObject
(2058,694.90002441,-1184.30004883,15.89999962,0.00000000,0.00000000,0.00000000);  
CreateObject
(2058,695.29998779,-1184.59997559,15.89999962,0.00000000,0.00000000,0.00000000);  
CreateObject
(2057,692.70001221,-1188.30004883,15.30000019,0.00000000,0.00000000,0.00000000);  
CreateObject
(2045,693.20001221,-1187.69995117,15.19999981,0.00000000,0.00000000,0.00000000);  
CreateObject
(2044,692.70001221,-1187.69995117,15.19999981,0.00000000,0.00000000,0.00000000);  
CreateObject
(1242,695.50000000,-1190.90002441,16.10000038,0.00000000,0.00000000,0.00000000);  
CreateObject
(1242,695.90002441,-1191.09997559,16.10000038,0.00000000,0.00000000,0.00000000);  
CreateObject
(1242,695.29998779,-1191.30004883,16.10000038,0.00000000,0.00000000,0.00000000);  
CreateObject
(1242,695.59997559,-1191.40002441,16.10000038,0.00000000,0.00000000,0.00000000);  
CreateObject
(1242,689.29998779,-1186.50000000,15.89999962,90.00000000,0.00000000,332.75000000);  
CreateObject
(1210,693.40002441,-1186.90002441,15.19999981,0.00000000,0.00000000,7.25000000);  
CreateObject
(2060,699.00000000,-1191.80004883,15.10000038,0.00000000,0.00000000,0.00000000);  
CreateObject
(2060,699.00000000,-1191.69995117,15.39999962,0.00000000,0.00000000,0.00000000);  
CreateObject
(2060,699.00000000,-1191.40002441,15.10000038,0.00000000,0.00000000,0.00000000);  
CreateObject
(2060,699.50000000,-1190.90002441,15.10000038,0.00000000,0.00000000,0.00000000);   
CreateObject
(2060,699.40002441,-1191.09997559,15.39999962,0.00000000,0.00000000,0.00000000);  
CreateObject
(2060,699.09997559,-1191.50000000,15.69999981,0.00000000,0.00000000,0.00000000); 
CreateObject
(2061,700.39941406,-1187.19921875,16.20000076,0.00000000,0.00000000,0.00000000);  
CreateObject
(2061,700.19921875,-1187.00000000,16.20000076,0.00000000,0.00000000,0.00000000);  
CreateObject
(2064,697.40002441,-1190.40002441,15.60000038,0.00000000,0.00000000,234.00000000);  
CreateObject
(2690,695.19921875,-1185.39941406,15.30000019,0.00000000,0.00000000,0.00000000);  
CreateObject
(1649,688.40002441,-1185.40002441,14.69999981,0.00000000,0.00000000,239.25000000); 
CreateObject
(1649,688.39941406,-1185.39941406,18.00000000,0.00000000,0.00000000,239.24926758);  
CreateObject
(1649,692.29980469,-1178.89941406,14.69999981,0.00000000,0.00000000,239.24377441); 
CreateObject
(1649,692.19921875,-1179.09960938,14.69999981,0.00000000,0.00000000,61.49597168);  
CreateObject
(1649,692.29980469,-1178.89941406,18.00000000,0.00000000,0.00000000,239.25000000);  
CreateObject
(1649,692.19921875,-1179.09960938,18.00000000,0.00000000,0.00000000,61.49597168);   
CreateObject
(1649,688.29998779,-1185.80004883,14.69999981,0.00000000,0.00000000,61.49597168);  
CreateObject
(8658,690.00000000,-1183.00000000,5.00000000,270.00000000,0.00000000,329.49365234);  
CreateObject
(8658,690.79980469,-1181.69921875,5.00000000,270.00000000,0.00000000,149.49096680); 
CreateObject
(1649,688.29980469,-1185.79980469,18.00000000,0.00000000,0.00000000,61.49047852); 
CreateObject
(1514,696.89941406,-1185.29980469,16.20000076,0.00000000,0.00000000,151.99584961);  
CreateObject
(2412,690.89941406,-1183.09960938,14.89999962,0.00000000,0.00000000,59.99633789);  
CreateObject
(2412,691.69921875,-1181.89941406,14.89999962,0.00000000,0.00000000,59.99084473);  
CreateObject
(3017,697.59960938,-1186.09960938,15.93000031,0.00000000,0.00000000,330.24902344);  
CreateObject
(371,690.09997559,-1186.90002441,15.89999962,90.00000000,0.00000000,330.00000000);  
CreateObject
(372,693.59997559,-1186.19995117,15.59000015,90.00000000,0.00000000,0.00000000);  
CreateObject
(355,693.90002441,-1185.59997559,15.65999985,90.00000000,0.00000000,24.00000000);  
CreateObject
(352,694.29998779,-1185.09997559,15.59899998,90.00000000,0.00000000,0.00000000);  
CreateObject
(335,696.79998779,-1185.80004883,15.89999962,90.00000000,0.00000000,24.00000000);   
CreateObject
(330,696.09997559,-1185.19995117,15.85999966,90.00000000,0.00000000,102.00000000);  
CreateObject
(353,694.00000000,-1185.80004883,15.65999985,90.00000000,0.00000000,10.00000000);  
CreateObject
(360,696.79998779,-1191.90002441,16.10000038,0.00000000,0.00000000,0.00000000);  
CreateObject
(359,696.79998779,-1191.69995117,16.10000038,0.00000000,0.00000000,0.00000000);  
CreateObject
(361,697.04589844,-1192.42089844,15.97153378,0.00000000,0.00000000,0.00000000);  
CreateObject
(363,698.50000000,-1186.59997559,16.20000076,0.00000000,0.00000000,0.00000000);  
CreateObject
(363,698.79998779,-1186.69995117,16.20000076,0.00000000,0.00000000,0.00000000);  
CreateObject
(363,698.59997559,-1186.80004883,16.20000076,0.00000000,0.00000000,0.00000000);  
CreateObject
(3861,691.09997559,-1182.40002441,13.50000000,0.00000000,0.00000000,331.49633789);   
CreateObject
(18553,699.34558105,-1180.50000000,16.20000076,0.00000000,0.00000000,59.25000000);   
CreateObject
(2855,700.00000000,-1187.50000000,15.89999962,0.00000000,0.00000000,0.00000000);  
CreateObject
(1586,703.20001221,-1185.40002441,16.79999924,0.00000000,0.00000000,58.00000000);  
CreateObject
(1586,699.79998779,-1191.69995117,16.79999924,0.00000000,0.00000000,59.24682617);  
CreateObject
(3014,703.79998779,-1183.59997559,15.19999981,0.00000000,0.00000000,0.00000000); 
CreateObject
(3014,703.09997559,-1183.30004883,15.19999981,0.00000000,0.00000000,0.00000000);  
CreateObject
(3014,703.20001221,-1184.00000000,15.19999981,0.00000000,0.00000000,0.00000000);   
CreateObject
(3014,703.79998779,-1183.59997559,15.69999981,0.00000000,0.00000000,0.00000000);  
CreateObject
(3014,703.29998779,-1183.30004883,15.69999981,0.00000000,0.00000000,0.00000000);  
CreateObject
(3014,703.50000000,-1183.40002441,16.20000076,0.00000000,0.00000000,0.00000000);  
CreateObject
(2358,693.70001221,-1178.00000000,15.00000000,0.00000000,0.00000000,0.00000000);  
CreateObject
(2358,694.40002441,-1178.19995117,15.00000000,0.00000000,0.00000000,0.00000000);   
CreateObject
(2358,693.59997559,-1178.59997559,15.00000000,0.00000000,0.00000000,0.00000000);  
CreateObject
(2358,693.70001221,-1178.00000000,15.19999981,0.00000000,0.00000000,0.00000000);  
CreateObject
(2358,694.40002441,-1178.19995117,15.19999981,0.00000000,0.00000000,0.00000000);  
CreateObject
(2358,694.40002441,-1178.59997559,15.00000000,0.00000000,0.00000000,0.00000000);  
CreateObject
(2358,693.79998779,-1178.59997559,15.19999981,0.00000000,0.00000000,0.00000000);   
CreateObject
(2358,693.70001221,-1178.00000000,15.39999962,0.00000000,0.00000000,0.00000000);  
CreateObject
(2359,693.20001221,-1179.00000000,15.10000038,0.00000000,0.00000000,0.00000000);   
CreateObject
(3565,703.40002441,-1191.50000000,15.80000019,0.00000000,0.00000000,62.00000000);  
CreateObject
(14819,691.40002441,-1183.00000000,16.10000038,0.00000000,0.00000000,353.50000000);  
CreateObject
(14819,690.40002441,-1182.19995117,19.00000000,0.00000000,270.00000000,57.25000000);  
CreateObject
(1215,691.09997559,-1180.40002441,14.89999962,0.00000000,0.00000000,0.00000000);  
CreateObject
(1215,689.29998779,-1183.59997559,14.89999962,0.00000000,0.00000000,0.00000000); 
CreateObject
(2120,697.59997559,-1187.30004883,15.60000038,0.00000000,0.00000000,302.00000000); 
CreateObject
(2058,697.40002441,-1185.59997559,15.89999962,0.00000000,0.00000000,260.00000000);  
CreateObject
(1689,690.50000000,-1191.00000000,26.50000000,0.00000000,0.00000000,329.82421875);
Пикапы
Ко всем new:

Code: Select all

new weap1, weap2, weap3, weap4, weap5, weap6


В public OnGameModeInit:

Code: Select all

weap1 = CreatePickup(348,23,693.907,-1178.439,15.785); 
weap2 
= CreatePickup(350,23,701.843,-1183.110,15.453); 
weap3 
= CreatePickup(352,23,698.962,-1191.291,16.158); 
weap4 
= CreatePickup(356,23,694.286,-1185.926,16.434); 
weap5 
= CreatePickup(349,23,693.061,-1187.696,16.435); 
weap6 
= CreatePickup(351,23,1936.0133,-1175.1010,20.5928); 


В public OnPlayerPickUpPickup:

Code: Select all

if(pickupid == weap1 ) 
 
{ 
 if
(GetPlayerMoney(playerid) >= 2500) 
 
{ 
    GivePlayerMoney
(playerid,-2500); 
    GivePlayerWeapon
(playerid, 24, 35); 
    SendClientMessage
(playerid, COLOR_YELLOW, "Вы купили Desert Eagle"); 
        return 1
; 
        
} 
            else return SendClientMessage
(playerid, 0xFF0000FF, "У вас недостаточно денег для покупки"); 
        
} 
if(pickupid == weap2 ) 
 
{ 
 if
(GetPlayerMoney(playerid) >= 2500) 
 
{ 
    GivePlayerMoney
(playerid,-2500); 
    GivePlayerWeapon
(playerid, 26, 28); 
    SendClientMessage
(playerid, COLOR_YELLOW, "Вы купили Sawnoff Shotgun"); 
        return 1
; 
        
} 
            else return SendClientMessage
(playerid, 0xFF0000FF, "У вас недостаточно денег для покупки"); 
        
} 
if(pickupid == weap3 ) 
 
{ 
 if
(GetPlayerMoney(playerid) >= 2000) 
 
{ 
    GivePlayerMoney
(playerid,-2000); 
    GivePlayerWeapon
(playerid, 28, 250); 
    SendClientMessage
(playerid, COLOR_YELLOW, "Вы купили Micro SMG"); 
        return 1
; 
        
} 
            else return SendClientMessage
(playerid, 0xFF0000FF, "У вас недостаточно денег для покупки"); 
        
} 
if(pickupid == weap4 ) 
 
{ 
 if
(GetPlayerMoney(playerid) >= 4000) 
 
{ 
    GivePlayerMoney
(playerid,-4000); 
    GivePlayerWeapon
(playerid, 31, 90); 
    SendClientMessage
(playerid, COLOR_YELLOW, "Вы купили M4"); 
        return 1
; 
        
} 
            else return SendClientMessage
(playerid, 0xFF0000FF, "У вас недостаточно денег для покупки"); 
        
} 
if(pickupid == weap5 ) 
 
{ 
 if
(GetPlayerMoney(playerid) >= 2000) 
 
{ 
    GivePlayerMoney
(playerid,-2000); 
    GivePlayerWeapon
(playerid, 25, 15); 
    SendClientMessage
(playerid, COLOR_YELLOW, "Вы купили Shotgun"); 
        return 1
; 
        
} 
            else return SendClientMessage
(playerid, 0xFF0000FF, "У вас недостаточно денег для покупки"); 
        
} 
if(pickupid == weap6 ) 
 
{ 
 if
(GetPlayerMoney(playerid) >= 3000) 
 
{ 
    GivePlayerMoney
(playerid,-3000); 
    GivePlayerWeapon
(playerid, 27, 21); 
    SendClientMessage
(playerid, COLOR_YELLOW, "Вы купили Combat Shotgun"); 
        return 1
; 
        
} 
            else return SendClientMessage
(playerid, 0xFF0000FF, "У вас недостаточно денег для покупки"); 
        

! ! !


JustPanDa M
Сержант
Сержант
Avatar
JustPanDa M
Сержант
Сержант
Posts: 61
Joined: 7 Apr 2013
With us: 7 years 7 months

#2by JustPanDa » 5 May 2013, 14:25

Автора и скриншоты.
DimaK style жиш.
Ай лаве ПАНДА!1

Николае Чаушеску
Topic author
Avatar
Николае Чаушеску
Topic author
Posts: 3
Joined: 5 May 2013
With us: 7 years 6 months

#3by Николае Чаушеску » 5 May 2013, 17:12

JustPanDa wrote:Автора и скриншоты.
Готово

JustPanDa M
Сержант
Сержант
Avatar
JustPanDa M
Сержант
Сержант
Posts: 61
Joined: 7 Apr 2013
With us: 7 years 7 months

#4by JustPanDa » 5 May 2013, 17:17

Неплохо, но уже на скриншотах видно неровности.
Учись )
DimaK style жиш.
Ай лаве ПАНДА!1


Return to “Карты”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest