Eu To Testando um sistema de concessionária na minha GM Mais Ta Dando muito Erros concessionária Baseada em JFSConcessionaria
Obs:Acho que e A Include. E esto Usando a versão 0.3.7
Incluides
Erros
Linha Dos Erros
A linha termino em 165
Obs:Acho que e A Include. E esto Usando a versão 0.3.7
Incluides
PHP Code:
#include <a_samp>
#include <dof2>
#include <zcmd>
PHP Code:
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(165) : error 017: undefined symbol "CreatePlayerTextDraw"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(165) : warning 213: tag mismatch
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(166) : error 017: undefined symbol "PlayerTextDrawUseBox"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(167) : error 017: undefined symbol "PlayerTextDrawLetterSize"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(168) : error 017: undefined symbol "PlayerTextDrawFont"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(169) : error 017: undefined symbol "PlayerTextDrawSetShadow"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(170) : error 017: undefined symbol "PlayerTextDrawSetOutline"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(171) : error 017: undefined symbol "PlayerTextDrawColor"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(172) : error 017: undefined symbol "PlayerTextDrawShow"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(162) : warning 203: symbol is never used: "Ypos"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(162) : warning 203: symbol is never used: "Xpos"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(162) : warning 203: symbol is never used: "playerid"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(178) : error 017: undefined symbol "CreatePlayerTextDraw"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(178) : warning 213: tag mismatch
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(179) : error 017: undefined symbol "PlayerTextDrawUseBox"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(180) : error 017: undefined symbol "PlayerTextDrawBoxColor"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(181) : error 017: undefined symbol "PlayerTextDrawBackgroundColor"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(182) : error 017: undefined symbol "PlayerTextDrawLetterSize"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(183) : error 017: undefined symbol "PlayerTextDrawFont"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(184) : error 017: undefined symbol "PlayerTextDrawSetShadow"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(185) : error 017: undefined symbol "PlayerTextDrawSetOutline"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(186) : error 017: undefined symbol "PlayerTextDrawColor"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(187) : error 017: undefined symbol "PlayerTextDrawSetSelectable"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(188) : error 017: undefined symbol "PlayerTextDrawAlignment"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(189) : error 017: undefined symbol "PlayerTextDrawTextSize"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(190) : error 017: undefined symbol "PlayerTextDrawShow"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(175) : warning 203: symbol is never used: "Height"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(175) : warning 203: symbol is never used: "Width"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(175) : warning 203: symbol is never used: "Ypos"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(175) : warning 203: symbol is never used: "Xpos"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(175) : warning 203: symbol is never used: "playerid"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(197) : error 017: undefined symbol "CreatePlayerTextDraw"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(197) : warning 213: tag mismatch
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(198) : error 017: undefined symbol "PlayerTextDrawUseBox"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(199) : error 017: undefined symbol "PlayerTextDrawLetterSize"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(200) : error 017: undefined symbol "PlayerTextDrawFont"
../scriptfiles/JFSConcessionaria/DefinicoesJFS.pwn(201) : error 017: undefined symbol "PlayerTextDrawSetShadow"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
Linha Dos Erros
PHP Code:
CMD:excluirveiculo(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xDEEE20FF, "Apenas Para Administrador Logado na RCON!");
format(Celulas, sizeof(Celulas), JFSCON, PlayerName(playerid));
if(!DOF2::FileExists(Celulas)) return SendClientMessage(playerid, -1, "Esse Úsuario não tem veiculo!");
format(Celulas, sizeof(Celulas), "Arquivo Veiculo_%s.ini Excluido com Sucesso dos ScriptFiles !", PlayerName(playerid));
SendClientMessage(playerid, -1, Celulas);
DOF2::RemoveFile(Celulas);
DOF2::SaveFile();
if(IsPlayerConnected(strlen(PlayerName(playerid))))
{
JFSID[strlen(params)] = 0;
DestroyVehicle(JFSID[strlen(PlayerName(playerid))]);
}
return true;
}
CMD:veiculomenu(playerid, params[])
{
format(Celulas, sizeof(Celulas), JFSCON, PlayerName(playerid));
if (!DOF2::FileExists(Celulas)) return SendClientMessage ( playerid , -1 , "Você não tem um veiculo!" ) ;
if (!IsPlayerInVehicle(playerid, JFSID[playerid])) return SendClientMessage (playerid , -1 , "Você não está em seu veiculo." ) ;
ShowPlayerDialog(playerid, 7337, DIALOG_STYLE_LIST, "JFS Concessionária - Menu", "Estacionar Neste Lugar\nCor do Veiculo\nVender Veiculo\nPlaca Veiculo\nGrana Veiculo", "Selecionar", "Cancelar");
return true;
}
CMD:grana(playerid, params[])
{
GivePlayerMoney(playerid, 500000);
return true;
}
CMD:irla(playerid, params[])
{
// if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xDEEE20FF, "Apenas Para Administrador Logado na RCON!");
SetPlayerPos(playerid, 2132.0010,-1149.9999,24.2075);
return true;
}
CMD:localizarveiculo(playerid, params[])
{
format(Celulas, sizeof(Celulas), JFSCON, PlayerName(playerid));
if (!DOF2::FileExists(Celulas)) return SendClientMessage ( playerid , -1 , "Você não tem um veiculo!" ) ;
JFSCheck[playerid] = 1;
static Float:CordX, Float:CordY, Float:CordZ;
GetVehiclePos(JFSID[playerid], CordX, CordY, CordZ);
SetPlayerCheckpoint (playerid , CordX, CordY, CordZ, 10.0);
SendClientMessage(playerid , -1, "Seu Veículo Está Marcado no Mapa !");
return true;
}
CMD:excluirveiculo(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xDEEE20FF, "Apenas Para Administrador Logado na RCON!");
format(Celulas, sizeof(Celulas), JFSCON, PlayerName(playerid));
if(!DOF2::FileExists(Celulas)) return SendClientMessage(playerid, -1, "Esse Úsuario não tem veiculo!");
format(Celulas, sizeof(Celulas), "Arquivo Veiculo_%s.ini Excluido com Sucesso dos ScriptFiles !", PlayerName(playerid));
SendClientMessage(playerid, -1, Celulas);
DOF2::RemoveFile(Celulas);
DOF2::SaveFile();
if(IsPlayerConnected(strlen(PlayerName(playerid))))
{
JFSID[strlen(params)] = 0;
DestroyVehicle(JFSID[strlen(PlayerName(playerid))]);
}
return true;
}
Aucun commentaire:
Enregistrer un commentaire