error 010: invalid function or declaration
#1

Код:
C:\Users\Rancas\Desktop\SK Skripta\BSRP[Eng]\filterscripts\RentCars.pwn(246) : error 010: invalid function or declaration
C:\Users\Rancas\Desktop\SK Skripta\BSRP[Eng]\filterscripts\RentCars.pwn(246 -- 251) : error 010: invalid function or declaration
C:\Users\Rancas\Desktop\SK Skripta\BSRP[Eng]\filterscripts\RentCars.pwn(246 -- 254) : error 010: invalid function or declaration
C:\Users\Rancas\Desktop\SK Skripta\BSRP[Eng]\filterscripts\RentCars.pwn(246 -- 254) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Код:
//==============================================================================
CMD:me(playerid, params[])// By YOUICE
{
	if(gPlayerLogged{playerid} == 0)
	{
		SendClientMessage(playerid, COLOR_GREY, "You're not logged in.");
		return 1;
	}

	if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /me [action]");
	new string[128];
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "%s %s", name, params);
	ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
	return 1;
}
//==============================================================================
CMD:do(playerid, params[])// By YOUICE
{
	if(gPlayerLogged{playerid} == 0)
	{
		SendClientMessage(playerid, COLOR_GREY, "You're not logged in.");
		return 1;
	}

	if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /do [action]");
	new string[128];
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "%s ((%s))", params, name);
	ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
	return 1;
}
//==============================================================================
CMD:shout(playerid, params[]) {// By YOUICE
	return cmd_shout(playerid, params);
}
//==============================================================================
CMD:s(playerid, params[])// By YOUICE
{
	if(gPlayerLogged{playerid} == 0)
	{
		SendClientMessage(playerid, COLOR_GREY, "You're not logged in.");
		return 1;
	}

	if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/s)hout [shout chat]");
	new string[128];
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "(shouts) %s!", params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,60.0,5000);
	format(string, sizeof(string), "%s shouts: %s!", name, params);
	ProxDetector(30.0, playerid, string,COLOR_WHITE,COLOR_WHITE,COLOR_WHITE,COLOR_FADE1,COLOR_FADE2);
	return 1;
}
//==============================================================================
CMD:low(playerid, params[]) {// By YOUICE
	return cmd_l(playerid, params);
}
//==============================================================================
CMD:l(playerid, params[])// By YOUICE
{
	if(gPlayerLogged{playerid} == 0)
	{
		SendClientMessage(playerid, COLOR_GREY, "You're not logged in.");
		return 1;
	}

	if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: (/l)ow [close chat]");

	new string[128];
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "%s says quietly: %s", name, params);
	ProxDetector(5.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
	format(string, sizeof(string), "(quietly) %s", params);
	SetPlayerChatBubble(playerid,string,COLOR_WHITE,5.0,5000);
	return 1;
}
//==============================================================================
CMD:b(playerid, params[])// By YOUICE
{
	if(gPlayerLogged{playerid} == 0)
	{
		SendClientMessage(playerid, COLOR_GREY, "You're not logged in.");
		return 1;
	}
	if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /b [local ooc chat]");
	new string[128];
	new name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	format(string, sizeof(string), "%s: (( %s ))", name, params);
	ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
	return 1;
}
//==============================================================================
Can somebody help me ?? i dont know whats wrong
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)