Vehicle disappearing after sometimes.. - 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 disappearing after sometimes.. (
/showthread.php?tid=446797)
Vehicle disappearing after sometimes.. -
Fernado Samuel - 27.06.2013
In my server Vehicles are disappearing after sometimes.. I'm using grandlarc vehicles + function to load it but i have tried it in grandlarc gamemode itself and at that time it worked fine.
Whats the actual problem?
Re: Vehicle disappearing after sometimes.. -
Cjgogo - 27.06.2013
Show us "OnVehicleSpawn" function from your gamemode, I also use the vehicle system from Grand Larc and it works 100% perfect!
Re: Vehicle disappearing after sometimes.. -
Fernado Samuel - 27.06.2013
Here
pawn Код:
public OnVehicleSpawn(vehicleid){
tCount[vehicleid] = false;
if(IsAirVehicle(vehicleid))
{
VehicleTailNumber[vehicleid][0] = random(99);
VehicleTailNumber[vehicleid][1] = random(11);
}
return 1;}
EDIT:
pawn Код:
new tCount[MAX_VEHICLES];
Re: Vehicle disappearing after sometimes.. -
Fernado Samuel - 27.06.2013
Anyone?