14.07.2016, 12:07
So this gamemode i am editing has 208 stocks. All textdraws, objects everything is in stock. Is that bad and is it going to slow things down??
//In OnPlayerCommandText if(!strcmp(cmdtext, "/mycommand", true) { Func1(); Func2(); return 1; } //Somewhere in your script Func1() { //Do something } stock Func2() { //Do something } stock Func3() { //Do something } Func4() { //Do something }
Thank you guys for answers but one more question. This gm has 55280 lines. When i try to compile, compiler stuck. It is showing liike it is compiling but nothing happens. I left it there for 20 min and still same. What could be the problem? I re-downliaded pawn few times and still the same
|
Pawno isn't the compiler, pawncc is and it's likely another IDE would just use pawncc. What you're probably getting mixed up with is Zeex's compiler which was patched to support longer lines (not longer scripts, pawncc can handle a lot more than 50k lines).
|