English How to make car positon shop

2 replies
Goto Page
To the start Previous 1 Next To the start
30.07.18 12:38:20 pm
Up
Hazard_h
User
Offline Off
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
30.07.18 08:17:21 pm
Up
Bowlinghead
User
Offline Off
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?
Code:
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
Share time limited free games here
31.07.18 12:34:07 am
Up
Hazard_h
User
Offline Off
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