01.01.2011, 20:26
(
Последний раз редактировалось Hitman_xD; 01.01.2011 в 21:41.
Причина: RESOLVIDO
)
Esse sistema de equipamento por dialog tava funcionando perfeitamente, agora quando troquei o id de uma arma, ele da esse erro no compiler:
o codigo й esse:
Se eu apagar essa parte do meu GM, volta a compilar certinho sem Warn
Abraзo e valeu pela ajuda adiantado
EDIT: Eu tinha um backup recente do GM, entao voltou ao normal, mais esse erro me deixou tenso D:
Код:
C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(696) : error 004: function "SaveAdmin" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(697) : error 004: function "OnPropUpdate" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(698) : error 004: function "SaveCK" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(699) : error 004: function "SaveIRC" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(700) : error 004: function "SavePapers" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(701) : error 004: function "SaveBoxer" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(702) : error 004: function "SaveCars" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(703) : error 004: function "SaveVip" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(704) : error 004: function "LoadAdmin" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(705) : error 004: function "LoadCar" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(706) : error 004: function "LoadVip" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2106) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2135) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2332) : error 004: function "SetPlayerToTeamColor" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2376) : error 004: function "SetPlayerToTeamColor" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2401) : error 004: function "SetPlayerToTeamColor" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2421) : error 004: function "SetPlayerCriminal" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2426) : error 004: function "SetPlayerCriminal" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2431) : error 004: function "DetectorProx" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2494) : error 004: function "PlayerToPoint" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2498) : error 004: function "PlayerToPoint" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2510) : error 004: function "PlayerToPoint" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2514) : error 004: function "PlayerToPoint" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2518) : error 004: function "PlayerToPoint" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2522) : error 004: function "PlayerToPoint" is not implemented C:\Users\Phellipe\Desktop\Tralhas do lipe\samp03csvr_win32\gamemodes\GM.pwn(2526) : error 004: function "PlayerToPoint" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(response == 0)
{
if(listitem == 0)//equip basico
{
ResetPlayerWeapons(playerid);
SetPlayerArmour(playerid, 50);
SetPlayerHealth(playerid, 100);
GivePlayerWeapon(playerid, 3, 1);
GivePlayerWeapon(playerid, 25, 30);
GivePlayerWeapon(playerid, 22, 200);
GivePlayerWeapon(playerid, 41, 300);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "HQ: Vocк Pegou seu equipamento Bбsico");
return 1;
}
if(listitem == 1)//equip intermedio
{
if(PlayerInfo[playerid][pCargo] >= 2)
{
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
GivePlayerWeapon(playerid, 24, 200);
GivePlayerWeapon(playerid, 25, 100);
GivePlayerWeapon(playerid, 29, 250);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 41, 500);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "HQ: Vocк Pegou seu equipamento Intermediбrio");
}
else{
SendClientMessage(playerid, COLOR_RED, "Vocк nгo estб autorizado a pegar esse equipamento");
}
return 1;
}
if(listitem == 2) //equip Avanзado
{
if(PlayerInfo[playerid][pCargo] >=3)
{
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
GivePlayerWeapon(playerid, 24, 300);
GivePlayerWeapon(playerid, 25, 200);
GivePlayerWeapon(playerid, 29, 350);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 30, 130);
GivePlayerWeapon(playerid, 33, 50);
GivePlayerWeapon(playerid, 41, 500);
SendClientMessage(playerid, COLOR_LIGHTBLUE, "HQ: Vocк pegou seu equipamento avanзado.");
}
else{
SendClientMessage(playerid, COLOR_RED, "Vocк nгo estб autorizado a pegar esse equipamento.");
}
return 1;
}
/* if(listitem == 3) //equipamento combate(desativado)
{
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 25, 300);
GivePlayerWeapon(playerid, 29, 600);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 31, 400);
GivePlayerWeapon(playerid, 34, 200);
GivePlayerWeapon(playerid, 17, 10);
SetPlayerSkin(playerid, 285);
return 1;
}*/
}
}
Se eu apagar essa parte do meu GM, volta a compilar certinho sem Warn
Abraзo e valeu pela ajuda adiantado
EDIT: Eu tinha um backup recente do GM, entao voltou ao normal, mais esse erro me deixou tenso D: