Pawno Crash ??? - 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)
+--- Thread: Pawno Crash ??? (
/showthread.php?tid=397541)
Pawno Crash ??? -
Azazelo - 05.12.2012
Quote:
Unhandled exception at 0x100119ec in pawncc.exe: 0xC0000005: Access violation reading location 0x00000044.
|
Last code maked:
pawn Код:
stock RandomIP(endpart);
{
new r1 = random(256);
new r2 = random(256);
new r3 = random(256);
format(storname, sizeof(storname), "%i.%i.%i.%i",r1,r2,r3,endpart);
return storname;
}
Re: Pawno Crash ??? -
Roel - 05.12.2012
pawn Код:
stock RandomIP(endpart)
{
new r1 = random(256);
new r2 = random(256);
new r3 = random(256);
format(storname, sizeof(storname), "%i.%i.%i.%i",r1,r2,r3,endpart);
return storname;
}
Removed the ; behind RandomIP(endpart)
Re: Pawno Crash ??? -
Azazelo - 05.12.2012
THANK YOU.
I lol now.