Hallo Breadfish!
Ich habe ein Problem und zwar kommt bei mir immer wenn ich das Script compiliere "Cannot read file from string"
Hallo Breadfish!
Ich habe ein Problem und zwar kommt bei mir immer wenn ich das Script compiliere "Cannot read file from string"
Schick es mal in einer PWN Zeile, dir fehlt bestimmt nur ein Aktuelles Include.
H:\Rockstar Games\GTA San Andreas\pawno\include\a_samp.inc(19) : fatal error 100: cannot read from file: "string"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
-Neue UHR und ab jetzt mit DATUM: Immer noch Oben rechts zusehen
das ist die Zeile :3 Ist unter dem drin /*
der fehlt nur der Include. Lad dir den Runter und pack ihn in den Pawno->Include Ordner
Ich hät ja schon gesucht, finde aber nicht : string.inc
Mach eine Include Datei und füge das rein.
/* String functions
*
* (c) Copyright 2005, ITB CompuPhase
* This file is provided as is (no warranties).
*/
#if defined _string_included
#endinput
#endif
#define _string_included
#pragma library String
native strlen(const string[]);
native strpack(dest[], const source[], maxlength=sizeof dest);
native strunpack(dest[], const source[], maxlength=sizeof dest);
native strcat(dest[], const source[], maxlength=sizeof dest);
native strmid(dest[], const source[], start, end, maxlength=sizeof dest);
native bool: strins(string[], const substr[], pos, maxlength=sizeof string);
native bool: strdel(string[], start, end);
native strcmp(const string1[], const string2[], bool:ignorecase=false, length=cellmax);
native strfind(const string[], const sub[], bool:ignorecase=false, pos=0);
native strval(const string[]);
native valstr(dest[], value, bool:pack=false);
native bool: ispacked(const string[]);
native uudecode(dest[], const source[], maxlength=sizeof dest);
native uuencode(dest[], const source[], numbytes, maxlength=sizeof dest);
native memcpy(dest[], const source[], index=0, numbytes, maxlength=sizeof dest);
Ok Danke!
Brauch allerdings jetzt die time.inc die finde ich auch nich -.- xD