Forum
CS2D Scripts Auto give wrenchAuto give wrench
38 replies kerker has written
And?You need to learn Lua.Your script is not work.
I didn't say that I don't need to learn lua more exactly. I can forget somethings sometimes as like everybody.
@ Yates: You mad bro?
kerker has written
How to make when player spawn he was given a wrench? (lua)
Look at the bold in quote.
He wants that wrench is given (not default melee weapon). In construction mode, the knife is stripped isn't it?
I give up - I'm out
Baloon has written
In construction mode, the knife is stripped isn't it?
It isn't.
And please, someone close this thread?
Admin/mod comment
Staff doesn't close a thread just because a problem is solved, we leave it open in case that someone steps with the same problem. /Starkkz Baloon has written
And please, someone close this thread?
Nah? Well, the problem is not solved.
GeoB99 has written
1
2
3
4
5
2
3
4
5
function WrenchItemSpawn() return '74' end addhook('spawn', 'WrenchItemSpawn')
Didn't it work?
Masea has written
Didn't it work?
GeoB99 has written
1
2
3
4
5
2
3
4
5
function WrenchItemSpawn() return '74' end addhook('spawn', 'WrenchItemSpawn')
Didn't it work?
Wait, let me try it.
UPD: It's finally working. Drag this topic to the landfill or close.
Here we clearly see an image where if we analyze it carefully and in depth can see that you can from different points of disagreement and comparison
reach the central idea that departs from the main argument, from which we conclude that this comment does not make any sense.
Thanks for your attention.
we love you
This comment is not edited
Admin/mod comment
§2.1 - No needless and/or doubled posts (spam)Does it not seem to you rude, but all`s done, I'm happy.
RedizGaming has written
but , if you see the image , the code works 100%
Thanks for you too!
1
2
3
4
5
6
7
2
3
4
5
6
7
function pepsi(id) return;74; - if not then parse("equip "..id.." 74") end end end end Note: not tested
Admin/mod comment
Do not post needless posts like this, the OP was already helped. Thanks. / GeoB991
2
3
4
5
2
3
4
5
function nilSpawn() return '74' end addhook('spawn', 'nilSpawn')
100 % works perfectly -.-
Yes can anyone close the thread ?
It's best if you don't revive old threads if they're already answered and you don't have a more efficient solution.
That's exactly what you did here unfortunately - provide the same solution and revived the thread. That's also the reason why Baloon pointed it out which lead to needless posts by both of you.
TL;DR just dont revive old threads. Moderators will close threads if they decide they have to be closed. Asking won't change anything.