Raised This Month: $ Target: $400
 0% 

strfind error :/


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nitroexe
New Member
Join Date: Aug 2012
Old 08-19-2012 , 08:46   strfind error :/
Reply With Quote #1

Whats wrong?

Code:
iii = strfind(szLine, "Czlonek", 0, iii); // iii = 24
num_to_str(iii, test, 2);
client_print(0, print_console, test);
do
{

iii = iii + 2; // iii = 26 iii = 34
liczbaczlonkowi++;

iii = strfind(szLine, "Czlonek", 0, iii); /// iii 32;
test1++;
num_to_str(iii, test, 2);
client_print(0, print_console, test);
}
while(iii != -1 && test1 < 10)
Nitroexe is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-19-2012 , 10:00   Re: strfind error :/
Reply With Quote #2

Not sure what is your problem, but if related to the last param, there is a known bug : https://bugs.alliedmods.net/show_bug.cgi?id=4070
__________________
Arkshine is offline
Nitroexe
New Member
Join Date: Aug 2012
Old 08-19-2012 , 14:39   Re: strfind error :/
Reply With Quote #3

thanks.
Nitroexe 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 05:47.


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