SA-MP Forums Archive
[Ajuda] Respawn Atutomбtico - 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] Respawn Atutomбtico (/showthread.php?tid=601768)



Respawn Atutomбtico - Killer21 - 26.02.2016

Galera criei algumas bicicletas no server que estou criando, mas elas nunca dгo respawn. Eu coloquei pra dar respawn a cada 10 minutos, mas eu percebi que nгo dava, ai coloquei pra 1 minuto pra testar e tambйm nгo da respawn

O que й que estou fazendo de errado ?

PHP код:
CreateVehicle(481, 1761.5500, -1859.0946, 12.8940, 0.0000, 5, 5, 60); // BMX
    
CreateVehicle(481, 1756.5500, -1859.0946, 12.8940, 0.0000, 4, 4, 60); // BMX
    
CreateVehicle(481, 1757.5500, -1859.0946, 12.8940, 0.0000, 3, 3, 60); // BMX
    
CreateVehicle(481, 1758.5500, -1859.0946, 12.8940, 0.0000, 2, 2, 60); // BMX
    
CreateVehicle(481, 1759.5500, -1859.0946, 12.8940, 0.0000, 1, 1, 60); // BMX
    
CreateVehicle(481, 1760.5500, -1859.0946, 12.8940, 0.0000, 0, 0, 60); // BMX 



Re: Respawn Atutomбtico - Artista - 26.02.2016

O respawn sу irб ocorrer caso vocк entre e saia do veнculo. Se vocк deseja um sistema que realiza um respawn automбtico sem seguir essas regras, vocк pode criar um timer e usar a funзгo SetVehicleToRespawn.


Re: Respawn Atutomбtico - F1N4L - 26.02.2016

Poste o timer q vc ta usando, a callback e o SetTimer pra ver onde ta o erro.


Re: Respawn Atutomбtico - Killer21 - 26.02.2016

Quote:
Originally Posted by Artista
Посмотреть сообщение
O respawn sу irб ocorrer caso vocк entre e saia do veнculo. Se vocк deseje um sistema que realiza um respawn automбtico sem seguir essas regras, vocк pode criar um timer e usar a funзгo SetVehicleToRespawn.
Aaaaaaata, eu achei que nгo precisava ter entrador no veнculo para ele iniciar o timer pro respawn ! Vlw Amigo