[HELP]Error to Compile
#7

Код:
//|-----------------------------------------|
//|   Copyright ©R3SpaWn            |
//|   No cambiar creditos.             |
//|           Gracias.             |
//|-----------------------------------------|
// Este filescript sirve para que un jugador hable en distintos idiomas.
// Italiano,Japonиs,Chino,Mexicano,etc..
//Script realizado para SD-RP [www.sd-rp.com

#include <a_samp>
#define FILTERSCRIPT
#define print
#if defined FILTERSCRIPT
#if defined print

public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print(" Filterscript lenguajes por R3SpaWn");
	print("--------------------------------------\n");
	return 1;
}



public OnFilterScriptExit()
{
	return 1;
}

#else

main()
{
	print("\n----------------------------------");
	print(" Filterscript lenguajes por R3SpaWn ");
  print(" No copiar creditos. ");
	print("----------------------------------\n");
	return 1;

}

#endif

//-----------------[ITALIANO]---------------
 	if(strcmp(cmd, "/it", true) == 0);
	{
	  if(IsPlayerConnected(playerid))
	  {
			new length = strlen(cmdtext);
			while ((idx < length) && (cmdtext[idx] <= ' '))
			{
				idx++;
			}
			new offset = idx;
			new result[128];
			while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
			{
				result[idx - offset] = cmdtext[idx];
				idx++;
			}
			result[idx - offset] = EOS;
			if(!strlen(result))
			{
				SendClientMessage(playerid, COLOR_WHITE, "[Uso:] /ita [Texto]");
				return 1;
			}
			format(string, sizeof(string), "[ITA] %s dice: %s", GetPlayerNameEx(playerid), result);
			ProxDetector(5.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE);
		}
		return 1;
	}

//----------[Scripteado por R3SpaWn para SD-RP]--------------||[www.sd-rp.com]||
Now?
Reply


Messages In This Thread
[HELP]Error to Compile - by R3SpaWn3 - 24.01.2010, 13:33
Re: [HELP]Error to Compile - by mansonh - 24.01.2010, 13:36
Re: [HELP]Error to Compile - by R3SpaWn3 - 24.01.2010, 13:41
Re: [HELP]Error to Compile - by mansonh - 24.01.2010, 13:43
Re: [HELP]Error to Compile - by R3SpaWn3 - 24.01.2010, 13:48
Re: [HELP]Error to Compile - by mansonh - 24.01.2010, 13:50
Re: [HELP]Error to Compile - by R3SpaWn3 - 24.01.2010, 13:53
Re: [HELP]Error to Compile - by mansonh - 24.01.2010, 13:56
Re: [HELP]Error to Compile - by R3SpaWn3 - 24.01.2010, 13:58
Re: [HELP]Error to Compile - by mansonh - 24.01.2010, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)