[Ajuda] IsATremCar - 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] IsATremCar (
/showthread.php?tid=558669)
IsATremCar -
GustavoG3D - 18.01.2015
public IsATremCar(carid)
{
if((carid >= 570) && (carid <= 53

)
{
return 1;
}
return 0;
}
Bem ai ta carid dai eu digito /trabalharmetro aparece
voce nao esta em um metro
й metro tem algo por que esta CARID?
Alguem ajuda ? eu estava no Carro 538 e nгo deu certo
Re: IsATremCar -
DiegoLeo - 18.01.2015
Olha se eu nгo me engano os ъnicos trens que vocк pode entrar sгo o 537 e o 538, ai vocк tenta usar assim:
PHP код:
public IsATremCar(carid)
{
if((carid == 537) || (carid == 538) return 1;
return 0;
}