Forum

> > CS2D > Scripts > walkover
Forums overviewCS2D overview Scripts overviewLog in to reply

English walkover

2 replies
To the start Previous 1 Next To the start

old walkover

Mora
User Off Offline

Quote
Hello all...
i wanna ask you for script fix...
1
2
3
4
5
6
7
8
addhook("walkover","www")
function www(id,iid,type)
     if type == 54 then
rolemoney[id]=rolemoney[id]+5000
addmoney(id)
parse("removeitem "..iid)
     end
end
when i walk, then this item will not add in inventory, and just will remove,(and as you see) in rp money i will get +5000
Thanks you

old Re: walkover

Alistaire
User Off Offline

Quote
You're checking for type = 54, which is a flare.

66 is coins, 67 is money and 68 is gold.

old Re: walkover

Mora
User Off Offline

Quote
Problem solved, dont need help.
/close
edited 1×, last 27.04.14 05:13:08 pm
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview