[HELP]Scripting...
#1

Код:
C:\Users\USER\Desktop\[BFR]Balkan FreeRoam\gamemodes\myscript.pwn(1038) : error 017: undefined symbol "PlayAudioStreamForPlayer"
C:\Users\USER\Desktop\[BFR]Balkan FreeRoam\gamemodes\myscript.pwn(1665) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
pliz help i have error
Reply
#2

Update your includes to 0.3D
Reply
#3

Upgrade your Server/Client to SA-MP 0.3d
For the second error add the strtok at the bottom of your script.
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
#4

thainks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)