Jump to content
  • 0

erori...


gabbii

Question

Cum pot rezolva erorile astea?

C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(136) : warning 201: redefinition of constant/macro (symbol "MAX_PLAYER_ATTACHED_OBJECTS")
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4284) : error 004: function "SendIRCMessage" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4306) : error 004: function "SendIRCMessage" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4615) : error 004: function "OOCOff" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4627) : error 004: function "OOCOff" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4647) : error 004: function "OOCOff" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4655) : error 004: function "OOCOff" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(4889) : error 004: function "BroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5215) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5228) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5241) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5254) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5267) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5280) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5292) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5304) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5366) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5389) : error 004: function "SendFamilyMessage" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(5745) : error 004: function "PlayerFixRadio" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(9458) : error 004: function "ABroadCast" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(10048) : error 004: function "OOCOff" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(10059) : error 004: function "OOCOff" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(10126) : error 004: function "OOCOff" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(10137) : error 004: function "OOCOff" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(13060) : error 004: function "PlayerPlayMusic" is not implemented
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(14325) : error 029: invalid expression, assumed zero
C:\Users\Asus\Desktop\samp03dsvr_win32\gamemodes\czgammer.pwn(14325) : error 004: function "Hide" is not implemented

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


26 Errors.

EDIT:

136:  [pawn]#define MAX_PLAYER_ATTACHED_OBJECTS 6[/pawn]

4284: [pawn]SendIRCMessage(PlayersChannel[playerid], COLOR_GREEN, string);[/pawn]

4306: [pawn]SendIRCMessage(number, COLOR_GREEN, string);[/pawn]

4615:    [pawn]OOCOff(COLOR_WHITE, string);[/pawn]

4627: [pawn]OOCOff(COLOR_DBLUE, string);[/pawn]

4647: [pawn]OOCOff(COLOR_WHITE, string);[/pawn]

4655:      [pawn]OOCOff(COLOR_DBLUE, string);[/pawn]

4889:[pawn]  BroadCast(COLOR_WHITE,string);[/pawn]

5215:[pawn]                                              ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]

5228:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]

5241:[pawn]  ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]

5254:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]

5267:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]

5280:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]

5292:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]

5304:[pawn] ABroadCast(COLOR_LIGHTRED,string,1);[/pawn]

5366:[pawn]             ABroadCast(COLOR_LIGHTRED, string, 1);[/pawn]

5389:[pawn] SendFamilyMessage(8, COLOR_YELLOW, string);[/pawn]

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Adauga in GM:

public BroadCast(color,const string[])
{
	SendClientMessageToAll(color, string);
	return 1;
}

public ABroadCast(color,const string[],level)
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
			if (PlayerInfo[i][pStaff] >= level)
			{
				SendClientMessage(i, color, string);
				printf("%s", string);
			}
		}
	}
	return 1;
}

public OOCOff(color,const string[])
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
		    if(!gOoc[i])
		    {
				SendClientMessage(i, color, string);
			}
		}
	}
}

public SendIRCMessage(channel, color, string[])
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
		    if(PlayersChannel[i] == channel)
		    {
				SendClientMessage(i, color, string);
			}
		}
	}
}

public SendFamilyMessage(family, color, string[])
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
		if(IsPlayerConnected(i))
		{
		    if(PlayerInfo[i][pMember] == family || PlayerInfo[i][pLeader] == family)
		    {
                if(!gFam[i])
                {
					SendClientMessage(i, color, string);
				}
			}
		}
	}
}

public PlayerPlayMusic(playerid)
{
	if(IsPlayerConnected(playerid))
	{
		SetTimer("StopMusic", 5000, 0);
		PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
	}
}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.