do you know how to make a scenario you drop a gut bomb and appear 2 things usp and awp? help me?
Scripts
Script Gut bomb
Script Gut bomb
1

deletemyacc: I tried, I couldn't.
Will gut bomb be removed when you drop it or will it stay?
Will the items appear at the tile which we exactly are staying on at that moment, or will they be equipped to yourself?
Let's say the code is not going to make us equipped these and instead they'll spawn somewhere, will they spawn as messy (randomly-like) or exactly under of us?addhook("drop", "_drop")
function _drop(id, iid, type, ain, a, mode, x, y)
if type == 86 then
parse("spawnitem 1 "..x.." "..y)
parse("spawnitem 35 "..x.." "..y)
end
end
Masea:
deletemyacc:
NeptooN has written
deletemyacc: I tried, I couldn't.
addhook,
parse,
spawnitem and math.floor functions to accomplish what you want. Naturally, the code above is a pseudo code to point you towards the correct direction.
Rainoth: Thank you, but I don't understand this.
deletemyacc: Yes, I'm very difficult I do not understand
deletemyacc: Couldn't you have done that before?
1
