Raised This Month: $ Target: $400
 0% 

can someone make this simple script


Post New Thread Reply   
 
Thread Tools Display Modes
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 03-11-2012 , 01:54   Re: can someone make this simple script
Reply With Quote #11

Mitch you forgot an important check on line #47, thus rendering the plugin useless.
PHP Code:
if(StrContains(Weapon"hegrenade")) 
PHP Code:
if(StrContains(Weapon"hegrenade") != -1
Yours sincerely
Impact
__________________

Last edited by Impact123; 03-11-2012 at 03:03.
Impact123 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-11-2012 , 23:30   Re: can someone make this simple script
Reply With Quote #12

Quote:
Originally Posted by Impact123 View Post
Mitch you forgot an important check on line #47, thus rendering the plugin useless.
PHP Code:
if(StrContains(Weapon"hegrenade")) 
PHP Code:
if(StrContains(Weapon"hegrenade") != -1
Yours sincerely
Impact
Im sorry to say this, but i copied your code, then added stuff onto it. you actually did that. :\
Mitchell is offline
Impact123
Veteran Member
Join Date: Oct 2011
Location: Germany
Old 03-11-2012 , 23:33   Re: can someone make this simple script
Reply With Quote #13

Quote:
Originally Posted by Mitchell View Post
Im sorry to say this, but i copied your code, then added stuff onto it. you actually did that. :\
No, i had StrEqual which returns true or false.
You have StrContains which returns the start of the matching string or -1.

Yours sincerely
Impact
__________________
Impact123 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-12-2012 , 18:16   Re: can someone make this simple script
Reply With Quote #14

Quote:
Originally Posted by Impact123 View Post
No, i had StrEqual which returns true or false.
You have StrContains which returns the start of the matching string or -1.

Yours sincerely
Impact
Thats impossible, i took the code straight from your post!
Mitchell is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 03-12-2012 , 22:57   Re: can someone make this simple script
Reply With Quote #15

well... Impact's post (here) doesn't look like he's edited it, and it has StrEqual
__________________
View my Plugins | Donate
TnTSCS is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 03-13-2012 , 01:06   Re: can someone make this simple script
Reply With Quote #16

i must have done a replace all by accident, hm, i got it to work now though.
Mitchell is offline
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:25.


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