I want to exclude some vehicles from respawn | I TRIED EVERYTHING
#6

Create a table, where you will store the IDs of truck trailers, and you will need to use if statement, as showed above, which is excluding valid vehicles from respawn.

Like this:
pawn Код:
if(!IsValidVehicle(car)) continue;
But with your truck trailers table created. Create your table at the top, of your script, somewhere under the includes. If you need to find the IDs of trailers, look for them in SA-MP's wiki, there are all the IDs of vehicles and its attachments (trailers etc.)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 6 Guest(s)