SA-MP Forums Archive
Ayuda, Error 035: argument type mismatch (argument 1) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Ayuda, Error 035: argument type mismatch (argument 1) (/showthread.php?tid=622564)



Ayuda, Error 035: argument type mismatch (argument 1) - GabrielBas - 24.11.2016

Descarguй un cуdigo que me pasу un amigo y resulta que tiene el siguiente error (el no puede brindarme el soporte que necesito), como yo voy mбs por otros sistemas, este cuenta con dini y yo no entender mucho del tema. їme podrнan ayudar?, gracias.

Код:
stock nGraffiti()
{
        new ID[64]; for(new h = 0; h <= 200; h++)
	{
	         format(ID, sizeof(ID), Graffitis, h);if(!dini_Exists(ID)) return h; <-- LINEA DONDE ESTБ EL ERROR.
	}
	return true;
}



Re: Ayuda, Error 035: argument type mismatch (argument 1) - BrianFaria - 24.11.2016

Код:
stock nGraffiti()
{
        new ID[64]; for(new h = 0; h <= 200; h++)
	{
	         format(ID, sizeof(ID), Graffitis, h);if(!dini_Exists(ID));
	}
	return 1;
}



Respuesta: Re: Ayuda, Error 035: argument type mismatch (argument 1) - GabrielBas - 24.11.2016

Persiste el mismo problema.


Re: Ayuda, Error 035: argument type mismatch (argument 1) - F1N4L - 24.11.2016

El cуdigo compilado!



Respuesta: Ayuda, Error 035: argument type mismatch (argument 1) - Doniczzz - 24.11.2016

Код:
stock nGraffiti()
{
        new ID[64]; 
        for(new h = 0; h <= 200; h++)
	{
	         format(ID, sizeof(ID), Graffitis, h);
                 if(!dini_Exists(ID)) return h; <-- LINEA DONDE ESTБ EL ERROR.
	}
	return true;
}
No debes colocar el "for" en la misma linea que la variable... Creo.