Quote:
|
Originally Posted by o0panda
I did have autoswitch off, but used your fix also.
|
I think you mean ON (0 = OFF, 1 = ON).
Quote:
|
And, if it's suppose to strip, I still see it "drop" right in front of me. I just added that strip code before my function, I thought it disappears. o.o
|
Because of incorrect usage. Copy the stock to your plugin and then try that way:
Code:
public give_it(id) {
if (user_has_weapon(id, CSW_GLOCK18))
strip_user_gun(id, CSW_GLOCK18)
else if (user_has_weapon(id, CSW_USP))
strip_user_gun(id, CSW_USP)
else
return
give_item(id, "weapon_deagle")
cs_set_user_bpammo(id, CSW_DEAGLE, 35)
}
Note: engine module should be enabled.