Can someone help me with this please?
this is from team06
Code:
register_event("CurWeapon","knife","b" "1=1")
public knife(id)
{
if(whateverhere)
{
new wpID = read_data(2)
if(wpID != CSW_KNIFE && wpID != CSW_C4)
{
engclient_cmd(id, "weapon_knife")
}
}
If I did this:
Code:
register_event("CurWeapon","knife","b" "1=1")
public knife(id)
{
if(whateverhere)
{
new wpID = read_data(2)
if(wpID != CSW_KNIFE && wpID != CSW_C4 && wpID != CSW_HEGRENADE)
{
engclient_cmd(id, "weapon_knife")
}
}
Would it work? Or would I have to change some things around/differently? Thanks in advance for any help. I have tried this, but it wont let me plant the bomb...idk "newb". Or if someone could show me how to find if the weapon is not one of those three. Thanks again.