#if directive problem
#7

Well, since there's no other option.. Basically, it's this textdraw string I don't want a scripter to exceed by 33 characters which I need to check. I tried inserting the newline character after the 33rd character, but it messed up the if the scripter had used it before the 33rd character. I guess I'll use a loop like:
pawn Код:
for ( new i; .. ) { if(strfind ( string.. '~' && ch[i+1] == n && ch [i+2] == '~') break, else strins ( deststr, ''~n~'', 33)
It's a typing problem here, so try to understand what I am conveying ! This should work, yes?
Reply


Messages In This Thread
#if directive problem - by RajatPawar - 13.03.2013, 08:10
Re: #if directive problem - by Vince - 13.03.2013, 08:18
Re: #if directive problem - by RajatPawar - 13.03.2013, 08:36
Re: #if directive problem - by Vince - 13.03.2013, 09:58
Re: #if directive problem - by RajatPawar - 13.03.2013, 13:15
Re: #if directive problem - by LarzI - 13.03.2013, 13:19
Re: #if directive problem - by RajatPawar - 13.03.2013, 14:15
Re: #if directive problem - by RajatPawar - 13.03.2013, 14:24
Re: #if directive problem - by RajatPawar - 13.03.2013, 14:33

Forum Jump:


Users browsing this thread: 2 Guest(s)