Raised This Month: $ Target: $400
 0% 

Read/writeing in files


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 10-15-2006 , 08:52   Re: Read/writeing in files
Reply With Quote #4

search for authid:
Code:
search_file_for_auth(file[] = "addons/amxmodx/...", match_auth[]) {     new line, text[64], len         while ( read_file(file, line++, text, 63, len) ) {                 if ( contain(text, match_auth) != -1 )             return 1 // match     }     return 0 // no match }

Code:
new line, text[64], second_word[2], len, file[] = "addons/amxmodx/..." while ( read_file(file, line++, text, 63, len) ) {         strbreak(text, text, 0, second_word, 1) }

parse() is bad

Last edited by [ --<-@ ] Black Rose; 10-15-2006 at 09:36.
[ --<-@ ] Black Rose 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:50.


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