Raven's Roleplay Error - 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: Raven's Roleplay Error (
/showthread.php?tid=306085)
Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
FIXED
Re: Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
These are a lot of lines i haven't edited a line in the gamemode not even removed comments so u can download the gm from
http://solidfiles.com/d/45b6d/ and let me know.
Thank you!
Re: Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
pawn Code:
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;//25130
}
25130 line i have commented the whole function is the rest
Re: Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
Still 26 errors althought that one has been fixed
pawn Code:
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(26621) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(26681) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(26734) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(27402) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(27461) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28142) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28170) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28181) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28241) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28510) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28537) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28567) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28575) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28609) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28617) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28650) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28695) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28758) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28816) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28824) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28859) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(28867) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(29094) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(29148) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(29201) : error 047: array sizes do not match, or destination array is too small
C:\Users\Haardik\Desktop\My Things\Street Life 1993\gamemodes\larp.pwn(29513) : error 047: array sizes do not match, or destination array is too small
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
These you can check by downloading raven's roleplay and removing that strtok line and check according to line numbers
Re: Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
pawn Code:
cmd = strtok(cmdtext, idx);
Re: Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
I don't know why but i am getting the errors i posted in the starting of the thread.Would you mind coming on to TeamViewer and helping me??
I will PM you the details
Re: Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
I Don't know why but i am getting the same errors still Please get teamviewer from teamviewer.com and PLEASE help me!
Re: Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
Help me anyone PLEASE
Re: Raven's Roleplay Error -
§с†¶e®РµРe - 25.12.2011
FIXED BY TEAMVIEWER THANKS TO suhrab_mujeeb