disable few scripts
#1

hello i have a lot of printf i would know if i can disable theme

PHP код:
print(" disable this "); 
MySQLCheckConnection();
mysql_query(sql);
mysql_store_result();
mysql_fetch_row(row);
nbreentree strval(row);
mysql_free_result();
print(
" disable this ");  // and this 
..........
... 
...
...
..
print(
" disable this ");  // and this 
... 
...
...
.. 
... 
...
...
..
print(
" disable this ");// and this 
thanks a lot, Regards,Golf
Reply
#2

Just remove those lines.
Reply
#3

a lots = 10000 printf lines ^^*
edit :
it's possible like ?

PHP код:
#define printf(""); (0) 
Reply
#4

If you want no printf, you'll have to remove them all manually.
Reply
#5

1) CTRL + F
2) Type print(
3) Press enter
4) Delete everyline you get.
5) Press F3
6) Start from #4
Reply
#6

Quote:
Originally Posted by Ralfie
Посмотреть сообщение
1) CTRL + F
2) Type print(
3) Press enter
4) Delete everyline you get.
5) Press F3
6) Start from #4
Haha, yeah :P
Reply
#7

i know all those methods thanks but if it exist another method ^^ to disable theme directly
Reply
#8

Open notepad++;
Copy all your code and paste it in new file;
Ctrl+F
Replace tab
Use : replace all : print( to //print(
if you want them back later , same thing , replace //print( to print(
repaste your code in pawn and compile => Done in less than a millisecond
Reply
#9

thank you i'll try
Reply
#10

Quote:
Originally Posted by Golimad
Посмотреть сообщение
Open notepad++;
Copy all your code and paste it in new file;
Ctrl+F
Replace tab
Use : replace all : print( to //print(
if you want them back later , same thing , replace //print( to print(
repaste your code in pawn and compile => Done in less than a millisecond
Why use notepad++? Use CTRL+H to replace code in pawno.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)