Forum

> > CS2D > General > pick up (lua)
Forums overviewCS2D overviewGeneral overviewLog in to reply

English pick up (lua)

2 replies
To the start Previous 1 Next To the start

old pick up (lua)

mortyr22
User Off Offline

Quote
>i create my lua(classes)
>how to create:you can pick up only bandage.

old Re: pick up (lua)

Admir
User Off Offline

Quote
Please use Lua help section, here is the code
you only can pickup bandage and medikit

1
2
3
4
5
6
7
addhook("walkover","medkit")
function medkit(id,iid,type)
	if (type>=64 and type<=65)
		return 0
	end
	return 1
end

If you want pick bandage only, remove that number 64
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview