SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Error. (/showthread.php?tid=276117)



Error. - James_Bourne - 12.08.2011

Код:
C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(31) : fatal error 100: cannot read from file: "SFCRRPGdudb"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
I got the include.
So whats the problem? it is on the #include <SFCRRPGdudb> i got the include.


Re: Error. - Riddick94 - 12.08.2011

Open Pawno.exe from your Pawno folder. Be sure you're opening pawno.exe what have included in includes "SFCRRPGdudb.inc" file. Then open map with File/Open and compile.


Re: Error. - Jafet_Macario - 12.08.2011

This error shows when the .inc file isn't good or you spell the name wrong, make sure you open the pawno.exe from the pawno folder which have included that thing.


Re: Error. - James_Bourne - 12.08.2011

now this came
Код:
C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(38) : error 017: undefined symbol "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Its pragma thing

Oh and it is command buggs u can only /cuff id 0 /adgiveweapons id 0 omg? almost all commands u can only do on id 0.


Re: Error. - Jafet_Macario - 12.08.2011

pawn Код:
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;
}



Re: Error. - James_Bourne - 12.08.2011

ummh?
#pragma unused strtok thats what the error is saying.


Re: Error. - Jafet_Macario - 12.08.2011

The error is saying undefined symbol "strtok".Delete if you have the thing u said


Re: Error. - MadeMan - 12.08.2011

Quote:
Originally Posted by James_Bourne
Посмотреть сообщение
ummh?
#pragma unused strtok thats what the error is saying.
Remove it.


Re: Error. - James_Bourne - 12.08.2011

Thanks anyways do u guys know how to fix command bugs? coz almost all commands i mean all commands that i do u can only do it on id 0 evne if i do like /adgiveweapon 1 31 9000 it gives to id 0. FOR Sf CnR


Re: Error. - MadeMan - 12.08.2011

If you are using sscanf, make sure you have the latest plugin

https://sampforum.blast.hk/showthread.php?tid=120356