have some problem with func. "contain"
Hi.
I have problem with function contain/containi When i tried to read from file, I have faced a problem. If in file Quote:
command de_Dust2 as command de_Dust Code:
|
Re: have some problem with func. "contain"
use equali
|
Re: have some problem with func. "contain"
One more specification
Code:
even on those which are not entered in the file. if i do so Code:
i tried do Code:
|
Re: have some problem with func. "contain"
Perhaps you'd do better to explain the rationale of your plugin.
Small modifications to containi() and equali() may result in completely different results. Specially if they are used in parsing loops. |
Re: have some problem with func. "contain"
Post your full code ( what the fuck is arg and read? ).
|
Re: have some problem with func. "contain"
@ [ --<-@ ] Black Rose : That's exactly why I've requested the plugin rationale. Also, nice to have you back. :up:
|
Re: have some problem with func. "contain"
Here all part, the rest adminvote.sma, a part public cmdVoteMap
Code:
|
Re: have some problem with func. "contain"
Ltv, Please post the full code. I can only guess what g_optionName[] is and what string(s?) it may or may not hold.
Also it would be nice to know what are you trying to do. Like deny all votes for: maps starting with... OR maps containing... OR map group... OR ... what ? Thx. |
Re: have some problem with func. "contain"
1 Attachment(s)
I try to make that the admin could not put voting on maps from a file lastmapsplayed.txt
Code:
Code:
|
Re: have some problem with func. "contain"
Help please anybody.
|
| All times are GMT -4. The time now is 16:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.