[Ajuda] Erro na public
#1

Код:
public CheckArma() // Entrar com armas na DP
{
	new string[128];
	new giveplayer[MAX_PLAYER_NAME];
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
	   	if(IsPlayerConnected(i) && PlayerToPoint(5.0, playerid, 245.1631,71.3908,1003.6406))
	   	{
// Minigun
if(GetPlayerWeapon(i) == 1)
   			    {
				GetPlayerName(i, giveplayer, sizeof(giveplayer));
			    format(string, sizeof(string), "Alarme de seguranзa da DP: %s[ID %d] Entrou na DP armado  enviem uma viatura rapidamente para lб!", giveplayer,i);
		        ABroadCast(COLOR_LIGHTRED,string,1);
				}
else if(GetPlayerWeapon(i) == 37)
				{
				GetPlayerName(i, giveplayer, sizeof(giveplayer));
			    format(string, sizeof(string), "Alarme de seguranзa da DP: %s[ID %d] Entrou na DP armado, enviem uma viatura rapidamente para lб!", giveplayer,i);
		        ABroadCast(COLOR_LIGHTRED,string,1);
                }
    		}
	}
	return 1;
}
Erro: Trava o server
Код:
 
C:\Documents and Settings\Usuario\Desktop\BAS\pawno\include\servermoneyGM.inc(16) : error 004: function "GMExit" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\pawno\include\servermoneyGM.inc(47) : error 004: function "OnPlayerHaveExtraCash" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\pawno\include\seif_walk.inc(39) : error 004: function "Walk_OnPlayerKeyStateChange" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(1081) : error 004: function "SaveCars" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(3996) : error 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(4042) : error 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(4308) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(4453) : error 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(4519) : error 017: undefined symbol "NomeORG"
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(4521) : error 017: undefined symbol "ConviteInfoOrg"
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(4547) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(4576) : error 017: undefined symbol "ResetPlayerWeaponsEx"
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5025) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5082) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5139) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5196) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5253) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5310) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5367) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5424) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5481) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5538) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5589) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5635) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5755) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\Usuario\Desktop\BAS\gamemodes\Bac1.pwn(5812) : error 004: function "ProxDetector" is not implemented

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


26 Errors.
Reply


Messages In This Thread
Erro na public - by Gabriel Gonzaga - 29.07.2012, 04:08
Re: Erro na public - by Sampizito - 29.07.2012, 04:42
Re: Erro na public - by Lуs - 29.07.2012, 04:45
Re: Erro na public - by Sampizito - 29.07.2012, 04:47
Re: Erro na public - by EduardoRFS - 29.07.2012, 05:22
Re: Erro na public - by Gabriel Gonzaga - 29.07.2012, 13:05
Re: Erro na public - by Math3us - 29.07.2012, 13:34
Re: Erro na public - by Gabriel Gonzaga - 29.07.2012, 14:03
Re: Erro na public - by Lуs - 29.07.2012, 16:05
Re: Erro na public - by Gabriel Gonzaga - 04.08.2012, 02:55

Forum Jump:


Users browsing this thread: 2 Guest(s)