Necesito ayuda con include utils para LARP Y Gf.
#1

Hola, disculpen tengo un problema que quiero que me solucionen Mi problema es que cuando voy a compilar el GM Del GF O LA-RP Dice un error de que no puede leer la include utils, como hago, Ya yo tengo la include utils pero aun asi dice que no la puede leer...

їQue estoy haciendo mal?...

Necesito ayuda porfavor este error ya me mata..
Reply
#2

Hola, Yo no soy espaсol jajaja. Sin embargo, todavнa sй lo que quieres descargar. El enlace de descarga estб a continuaciуn:

Descargar:
Reply
#3

Gracias, men pero todavia me sigue apareciendo el error de que no se puede leer el utils.
Reply
#4

que dice el error exactamente
y como tenes el include?
Reply
#5

Quote:
Originally Posted by GtaChile!
Gracias, men pero todavia me sigue apareciendo el error de que no se puede leer el utils.
Ponga el incluir en PAWNO> INCLUDES
Reply
#6

Este es el error:

Код:
C:\Documents and Settings\Administrador\Mis documentos\Descargas\gta san andreas\samp03asvr_R4_win32\gamemodes\gf.pwn(19) : fatal error 100: cannot read from file: "utils"
Esto es tanto como para el GM GF Y LARP

Y Esto es lo que tengo en mi include utils:

Код:
IsNumeric(const string[])
{
	for (new i = 0, j = strlen(string); i < j; i++)
	{
		if (string[i] > '9' || string[i] < '0') return 0;
	}
	return 1;
}

ReturnUser(text[], playerid = INVALID_PLAYER_ID)
{
	new pos = 0;
	while (text[pos] < 0x21) // Strip out leading spaces
	{
		if (text[pos] == 0) return INVALID_PLAYER_ID; // No passed text
		pos++;
	}
	new userid = INVALID_PLAYER_ID;
	if (IsNumeric(text[pos])) // Check whole passed string
	{
		// If they have a numeric name you have a problem (although names are checked on id failure)
		userid = strval(text[pos]);
		if (userid >=0 && userid < MAX_PLAYERS)
		{
			if(!IsPlayerConnected(userid))
			{
				/*if (playerid != INVALID_PLAYER_ID)
				{
					SendClientMessage(playerid, 0xFF0000AA, "User not connected");
				}*/
				userid = INVALID_PLAYER_ID;
			}
			else
			{
				return userid; // A player was found
			}
		}
		/*else
		{
			if (playerid != INVALID_PLAYER_ID)
			{
				SendClientMessage(playerid, 0xFF0000AA, "Invalid user ID");
			}
			userid = INVALID_PLAYER_ID;
		}
		return userid;*/
		// Removed for fallthrough code
	}
	// They entered [part of] a name or the id search failed (check names just incase)
	new len = strlen(text[pos]);
	new count = 0;
	new name[MAX_PLAYER_NAME];
	for (new i = 0; i < MAX_PLAYERS; i++)
	{
		if (IsPlayerConnected(i))
		{
			GetPlayerName(i, name, sizeof (name));
			if (strcmp(name, text[pos], true, len) == 0) // Check segment of name
			{
				if (len == strlen(name)) // Exact match
				{
					return i; // Return the exact player on an exact match
					// Otherwise if there are two players:
					// Me and MeYou any time you entered Me it would find both
					// And never be able to return just Me's id
				}
				else // Partial match
				{
					count++;
					userid = i;
				}
			}
		}
	}
	if (count != 1)
	{
		if (playerid != INVALID_PLAYER_ID)
		{
			if (count)
			{
				SendClientMessage(playerid, 0xFF0000AA, "Multiple users found, please narrow earch");
			}
			else
			{
				SendClientMessage(playerid, 0xFF0000AA, "No matching user found");
			}
		}
		userid = INVALID_PLAYER_ID;
	}
	return userid; // INVALID_USER_ID for bad return
}
Lo tengo en Pawno>Include Asн que nose que es lo que pasa ayuda porfavor.
Reply
#7

їEstбs seguro?
Reply
#8

Quote:
Originally Posted by Carlton
їEstбs seguro?
LoL, are you using ****** Translator?
Reply
#9

Quote:
Originally Posted by CristianTdj
Quote:
Originally Posted by Carlton
їEstбs seguro?
LoL, are you using ****** Translator?
Obviously, I know some Spanish, he said that it's in the right directory but is still getting the error. I'm trying to learn more
Reply
#10

Gracias por tu respuesta rбpida, Si estoy seguro men...

Eso es todo lo que tengo.. їCual sera el error?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)