SA-MP Forums Archive
Help with 0.3c - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with 0.3c (/showthread.php?tid=211702)



Help with 0.3c - [IL]HeHu - 15.01.2011

Hey guys,
So I just downloaded the 0.3c files and deleted the 0.3b files(I know I am like super late).
Now, when I try openning a pawno file it doesn't open, so I did the "Open with", when I did it I located my samp 0.3c folder went into pawno and clicked on the thing called pawn. Nothing happened, I still can't start view my .pwn files, could you help me with that?

btw it might help, I got W7.

Thanks in advance!


Re: Help with 0.3c - hanzen - 15.01.2011

Try running pawno as admin.


Re: Help with 0.3c - [IL]HeHu - 15.01.2011

How do you do that?


Re: Help with 0.3c - hanzen - 15.01.2011

Right click the pawno programfile and select `Run as administrator`.

Btw are you sure you are running the correct .exe file? (There is one called pawncc.exe and pawno.exe, you should open pawno.exe).


Re: Help with 0.3c - [IL]HeHu - 15.01.2011

Yeah, it works thanks.
But for some reason the gamemode starts giving me many same errors(26):
PHP код:
C:\Users\Mark\Desktop\samp03cserv\gamemodes\HRP.pwn(5193) : error 047: array sizes do not match, or destination array is too small 
And the line is this:
PHP код:
new string[128];
string strtok(cmdtextidx); 



Re: Help with 0.3c - hanzen - 15.01.2011

pawn Код:
new string[256];
Quick before ****** kills us both.


Re: Help with 0.3c - [IL]HeHu - 15.01.2011

Huh, but why 256?
I've seen a tutorial of Y-Less saying this amount is not needed at all, and I actually understood why.
Now I don't think it should be raised to 256, because it was working just fine with 128 with 0.3b


Re: Help with 0.3c - hanzen - 15.01.2011

It's because of strtok.