Forum

> > CS2D > Scripts > Item id that player currently carries.
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Item id that player currently carries.

4 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Re: Item id that player currently carries.

Sudden Death
User Off Offline

Zitieren
@user Apache uwu: YES, I finally made it to work but I had to change table for variable. It's really helpfull, thank you for making it.
1
2
3
4
5
6
7
8
9
10
11
12
addhook("log","_log")

parse("items")

function _log(text)
	if string.sub(text,1,20)=="Tpl.weapon: #0, pl: " then
		a,b,c,d,e,f=string.match(text,"Tpl.weapon: #0, pl: (.*), typ: (.*) (.*), a: (.*)|(.*), m: (.*)")
		ammoin=tonumber(d)
		--msg("Ammoin "..ammoin.."")
		return 1
	end	
end
Btw. almost week for one shit, lol.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht