vehicle wont respawn - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: vehicle wont respawn (
/showthread.php?tid=495944)
vehicle wont respawn -
karolis11234 - 19.02.2014
these are the lines with the car:
else if (listitem == 5)
{
if(IsPlayerInVehicle(playerid, masina[0]))
{
return 1;
}
else
{
SetVehicleToRespawn(masina[0]);
}
}
the problem is it respawns the car at first but when i enter it and drive a little it doesnt .
Re: vehicle wont respawn -
Golimad - 19.02.2014
else if (listitem == 5)
{
if(!IsPlayerInVehicle(playerid, masina[0]))
{
SetVehicleToRespawn(masina[0]);
}
}
Re: vehicle wont respawn -
karolis11234 - 19.02.2014
still the same. can anyone help me ?