Another Respawn all unused cars command help
#3

Quote:
Originally Posted by Tanush123
Посмотреть сообщение
Did you find this code on samp forum? Search for IsVehicleEmpty, it will start with Stock IsVehicleEmpty i think
Hmm thats weird i was looking earlyer and i found different stocks but they didnt work, now i found the right one, thanks!!
But now i have another problem, first it started off when i did /rac in a any vehicle it worked fine but when i got in a truck and hooked to a trailer it respawned both, so i changed......
pawn Код:
if((IsVehicleEmpty(vid)||IsTrailerAttachedToVehicle(vid))
to
pawn Код:
if((IsVehicleEmpty(vid)||!IsTrailerAttachedToVehicle(vid)))
and now it respawns the trailer, how would i make it so all trailers stay attached when they are in use but when not in use the respawn.
Reply


Messages In This Thread
Another Respawn all unused cars command help - by nickdodd25 - 21.03.2012, 00:29
Re: Another Respawn all unused cars command help - by Tanush123 - 21.03.2012, 00:59
Re: Another Respawn all unused cars command help - by nickdodd25 - 21.03.2012, 03:36
Re: Another Respawn all unused cars command help - by MP2 - 21.03.2012, 05:15
Re: Another Respawn all unused cars command help - by nickdodd25 - 21.03.2012, 14:14
Re: Another Respawn all unused cars command help - by Joshb93 - 21.03.2012, 15:29
Re: Another Respawn all unused cars command help - by Tween73 - 01.03.2015, 23:09

Forum Jump:


Users browsing this thread: 1 Guest(s)