Code:
if(containi(szModel, "models/mymodel.mdl"))
client_print(id, print_chat, "True")
if(!containi(szModel, "models/mymodel.mdl"))
client_print(id, print_chat, "False");
So this is what I have, lets say that the item that is supposed to trigger this event does not have mymodel.mdl, but has a different model, but it triggers as "True", and the item that
does have mymodel.mdl triggers "False"...
O.o whats up with that??
doesn't !containi mean if it doesn't contain the model "mymodel"???
__________________