Raised This Month: $ Target: $400
 0% 

Can someone clarify why "containi" did this?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
TheNewt
Donor
Join Date: Jun 2006
Location: Where I live.
Old 10-26-2006 , 00:19   Can someone clarify why "containi" did this?
Reply With Quote #1

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"???
__________________
Quote:
toe3_ left the chat room. (G-lined (AUTO Excessive connections from a single host.))
TheNewt is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:45.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode