Raised This Month: $ Target: $400
 0% 

have some problem with func. "contain"


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Ltv
Junior Member
Join Date: Jul 2007
Old 09-06-2007 , 11:04   Re: have some problem with func. "contain"
Reply With Quote #7

Here all part, the rest adminvote.sma, a part public cmdVoteMap

Code:
 
 new fz = file_size(lastmapsfile,1) + 1
 for(new i=0 ;i<=fz; i++) 
 {
  new read[100]
  new trash
  read_file(lastmapsfile,i,read,99,trash)
  for(new i=0; i < 4; i++) {
   if((containi(g_optionName[i],read)!=-1))
   {
    console_print(id, "%L", id, "NOT_ALLOW_LMP")
    return PLUGIN_HANDLED
   }
  }
 }
Ltv 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 16:04.


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