[Ajuda] Conchets - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Conchets (
/showthread.php?tid=437185)
Conchets -
VSxD - 14.05.2013
Pawn Compiler Library parou de funcionar
Meu GM eo BML
//ultima atualizaзгo do gamemode coloquei por cima do antigo mais ainda aparece erros em.
if(newstate == PLAYER_STATE_DRIVER)
Quote:
else if(IsAAlCar(newcar))
{
if(!IsAAl(playerid))
{
SendClientMessage(playerid, COR_AL, "Vocк nгo й da Al'Qaeda, por isso nгo tem a chave desse veнculo !");
RemovePlayerFromVehicleEx(playerid);
}
}
else if(IsAFARCCar(newcar))
{
if(!IsAFARC(playerid))
{
SendClientMessage(playerid, COR_FARC, "Vocк nгo й da F.A.R.C, por isso nгo tem a chave desse veнculo !");
RemovePlayerFromVehicleEx(playerid);
}
}
|
// Vi esse Topico Ja:
https://sampforum.blast.hk/showthread.php?tid=333816
//Uso o missing brackets finder so nгo sei mexe muito bem
Re: Conchets -
feliphemort - 14.05.2013
pawn Код:
else if(IsAAlCar(newcar))
{
if(!IsAAl(playerid))
{
SendClientMessage(playerid, COR_AL, "Vocк nгo й da Al'Qaeda, por isso nгo tem a chave desse veнculo !");
RemovePlayerFromVehicleEx(playerid);
}
}
else if(IsAFARCCar(newcar))
{
if(!IsAFARC(playerid))
{
SendClientMessage(playerid, COR_FARC, "Vocк nгo й da F.A.R.C, por isso nгo tem a chave desse veнculo !");
RemovePlayerFromVehicleEx(playerid);
}
}
?
Re: Conchets -
Cidiei - 14.05.2013
Tu sу organizou o cуdigo Felipe!
Re: Conchets -
feliphemort - 14.05.2013
Qual й o problema
@Edit, alguma chave ai tu acrescentou ou nгo fechou ou verso. Tambйm tenta colocar teu pawno em compatibilidade.
Ja aconteceu isso comigo em meu gamemode, sу mudei a compatibilidade dele
Re: Conchets -
PT - 14.05.2013
Isso
pawn Код:
if(newstate == PLAYER_STATE_DRIVER)
{
if(IsAAlCar(newcar))
{
if(IsAAl(playerid))
{
return 1;
}
else
{
SendClientMessage(playerid, COR_AL, "Vocк nгo й da Al'Qaeda, por isso nгo tem a chave desse veнculo !");
RemovePlayerFromVehicle(playerid);
}
}
else if(IsAFARCCar(newcar))
{
if(IsAFARC(playerid))
{
return 1;
}
else
{
SendClientMessage(playerid, COR_FARC, "Vocк nгo й da F.A.R.C, por isso nгo tem a chave desse veнculo !");
RemovePlayerFromVehicle(playerid);
}
}
return 0;
}
Pelo menos tentei poder ajudar :S
Re: Conchets -
VSxD - 14.05.2013
Quote:
Originally Posted by PT
Isso
pawn Код:
if(newstate == PLAYER_STATE_DRIVER) { if(IsAAlCar(newcar)) { if(IsAAl(playerid)) { return 1; } else { SendClientMessage(playerid, COR_AL, "Vocк nгo й da Al'Qaeda, por isso nгo tem a chave desse veнculo !"); RemovePlayerFromVehicle(playerid); } } else if(IsAFARCCar(newcar)) { if(IsAFARC(playerid)) { return 1; } else { SendClientMessage(playerid, COR_FARC, "Vocк nгo й da F.A.R.C, por isso nгo tem a chave desse veнculo !"); RemovePlayerFromVehicle(playerid); } } return 0; }
Pelo menos tentei poder ajudar :S
|
Pawn Compiler Library parou de funcionar =D mais vlw