How could I make a shop system?
#1

For example,
Quote:

a "info" token comes at the spot you want it to be. You walk inside it. It would say:
[vehicle dealershop]
[OWNER: state]
[/v buy]

When typed /v buy, a list of the cars ingame will appear. For example: [carname] [carID] [price]
under the list will be: Usage: /v buy carID ID

when you want to buy something, it will check the money and delete the money of the player
then a file in scriptfiles will be: VEHICLE SYSTEM and in there USERS it will be:
name:
vehicle1:
vehicle2:
vehicle3:
vehicle4:
vehicle5:

when the player buyed the vehicle, he needs to type /v list
it will show:

[car one]
[car two]
[etc]

when he wants to spawn: /v get [id from /v list]
despawn: /v park ( he needs to be inside it)

I WANT TO CREATE SOMETHING LIKE THAT
Reply
#2

BUMP.
Reply
#3

You want to create something with that you say... why do you post it here then, you ain't asking something -_-

Anyway, first you create a pickup, now when a player steps into it you make a gametext appear. The commands can be made with zcmd and sscanf, you can use SendClientMessage.

Might be a bit of a weird tutorial, but the wiki will always help. Don't have time to make an example now.
Reply
#4

You helped me already, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)