Forum

> > CS2D > Scripts > How to make car positon shop
Forums overviewCS2D overview Scripts overviewLog in to reply

English How to make car positon shop

2 replies
To the start Previous 1 Next To the start

old How to make car positon shop

maninja
User Off Offline

Quote
hi guys

Today I brought you a new and wonderful topic And hope help i want script car position shop example I want to buy a car I go to the store car and buy it

Please help me i need it so much

old Re: How to make car positon shop

Bowlinghead
User Off Offline

Quote
We can only give examples since we dont got your code for cars'n'stuff.

Also, dont enough information. How 2 buy? 0815 menu is enough?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
addhook("use","ImInUse")
function ImInUse(id, event, data, x, y)
	if player(id,"exists") then -- not a bot
		if (x == shopX and y == shopY) then -- pls edit
			menu(id,"CAR SHOP <3, Fenari | 1kk, Bugatcha | 1,5kk, Mini Cooper | 3 bjs)
		end
	end
end

addhook("menu","Speisekarte")
function Speisekarte(id,t,b)
	if (t=="CAR SHOP <3") then
		if (b==1) then
			if (player(id,"money") >= 1000000) then
				parse("setmoney "..id.." "..player(id,"money") - 1000000) -- yes its kinda much for a car
				msg2(id,"Look at your buy, your buy is amazing~!")
				--addCar(id,carid) ?? your part.
			else
				msg2(id,"Not enough minerals!")
			end
		end
	end
end
--unteste

old Re: How to make car positon shop

maninja
User Off Offline

Quote
Yes that's what I want but is this a shop for cars or F2? I mean function @user Bowlinghead: I want car gfx and car position buy no function f2 or f3 or f4 I want story car and sorry for my English is bad
edited 1×, last 31.07.18 12:49:32 am
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview