Forum

> > CS2D > Scripts > Money
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Money

10 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Money

danielsv09
User Off Offline

Zitieren
I would like a system of money without rp
only money
because 16000 is very little
thanks!

alt Re: Money

Mechanolith
User Off Offline

Zitieren
Storing where? How? When?
It will be way less difficult to help you if you were more specific, could you explain better?

alt Re: Money

danielsv09
User Off Offline

Zitieren
user Mechanolith hat geschrieben
Storing where? How? When?
It will be way less difficult to help you if you were more specific, could you explain better?


in rps
has a system of money
I wanted an equal
but only the money!
rp not all!

alt Re: Money

Infinite Rain
Reviewer Off Offline

Zitieren
Its easy

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function array(m)
	local array
	for id = 1, m do
		array[id] = 0
	end
return array
end

money = array(32)

function Fmoney(id, v)
	money[id] = money[id] + v
end

addhook('ms100', 'MONEYms100')
function MONEYms100()
	for id = 1, 32 do
		parse('hudtxt2 '.. id..' 1 "Money: '.. money[id]..'" 96 96 1')
	end
end

OK, use
1
Fmoney(playerID, HOWMUCH)
for give or grab money from player
to grab money type like
1
Fmoney(ID, -500) --takes 500 money from player

for give
1
Fmoney(ID, 500) --Gives 500 money to player
Enjoy lazy bustard

alt Re: Money

Mechanolith
User Off Offline

Zitieren
Do not use translators, it's for retarded people.
And now seems that user Infinite Rain helped you, therefore it was easier if you searched an RP Script and cut the money storage part...

alt Re: Money

Tajifun
User Off Offline

Zitieren
Do you've got at least any lua-knowledge?
Otherwise you'll have a lot of problems.

alt Re: Money

Yates
Reviewer Off Offline

Zitieren
user Mechanolith hat geschrieben
Do not use translators, it's for retarded people.

I use translators. Doesn't mean that you're retarded. It's just not allowed here.

I just wanted to start an argument about your sig. But you're not worth it.

alt Re: Money

Mechanolith
User Off Offline

Zitieren
user Yates hat geschrieben
user Mechanolith hat geschrieben
Do not use translators, it's for retarded people.

I use translators. Doesn't mean that you're retarded. It's just not allowed here.

I just wanted to start an argument about your sig. But you're not worth it.


I forgot the "translator to english" part, since english is a basic language you need to learn, even to work in somewhere.

alt Re: Money

Yates
Reviewer Off Offline

Zitieren
It's not a basic language, the grammar is fucking hard.
People that translate are the smart ones, they are learning by doing it. Maybe it's not always correct, but you shouldn't translate whole setences.

You don't need english to work somewhere, you have it all wrong.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht