New Vehicle System
#1

i've been searching for a good vehicle system for my Freeroam server for a while , didnt find any , also i tried Filterscript: fsdebug installed with SA-MP file , it's good but the problem is that 1 player can spawn infinite number of cars which always crash the server , also RC Vehicles r not driveable , can anyone help me with a vehicle system ? , it'll be even more awesome if it was a tutorial so i can understand more how they work , thx
Reply
#2

hmm you should use mselection include i hope this can help you i'll give you the link for the example https://sampforum.blast.hk/showthread.php?tid=482021

or you can also use this code
CMD:hydra (playerid) // this is zcmd include find it on ******
{
DestroyVehicle(playerid); // destroy player vehicle to prevent infinity car spawn
// Add a Hydra to the game with a respawn time of 60 seconds got this from wiki ;p
CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);
}
return1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)