Error.
#1

Код:
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.
Reply
#2

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.
Reply
#3

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.
Reply
#4

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.
Reply
#5

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;
}
Reply
#6

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

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

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

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
Reply
#10

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

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


Forum Jump:


Users browsing this thread: 8 Guest(s)