Raised This Month: $ Target: $400
 0% 

question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
cx710v
Junior Member
Join Date: Aug 2005
Old 10-03-2006 , 23:11   question
Reply With Quote #1

trash

Last edited by cx710v; 08-09-2007 at 22:56.
cx710v is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 10-03-2006 , 23:38   Re: question
Reply With Quote #2

put
Code:
while(containi(text2,"rhksw")!=-1)
{
replace(text2,199,"rhksw", "BIG")
}
after the others. so it would be
Code:
while(containi(text2,"wk")!=-1)
{
replace(text2,199,"wk", "SMALL")
}
while(containi(text2,"rhks")!=-1)
{
replace(text2,199,"rhks", "LONG")
}
while(containi(text2,"rhksw")!=-1)
{
replace(text2,199,"rhksw", "BIG")
}
note: this will make it so BIG is never displayed.
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-04-2006 , 00:23   Re: question
Reply With Quote #3

ahem...
use

Code:
replace_all(text2,199,"wk", "SMALL") replace_all(text2,199,"rhks", "LONG") replace_all(text2,199,"rhksw", "BIG")

instead of
Code:
while(containi(text2,"rhksw")!=-1) { replace(text2,199,"rhksw", "BIG") } while(containi(text2,"wk")!=-1) { replace(text2,199,"wk", "SMALL") } while(containi(text2,"rhks")!=-1) { replace(text2,199,"rhks", "LONG") }
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 10-04-2006 , 07:38   Re: question
Reply With Quote #4

you made the same error again.
read my post in your other topic http://forums.alliedmods.net/showthread.php?t=45470
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
Reply



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:54.


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