SA-MP Forums Archive
How to add more car in LARP without vehicleid - 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: How to add more car in LARP without vehicleid (/showthread.php?tid=316726)



How to add more car in LARP without vehicleid - Soap_MacTavish - 08.02.2012

I wanna add more vehicles for gang and cop.but i think use vehicleid is a bad way.
When you wanna add more car,you should re-edit the code.


like this:

Код:
public IsACopCar(carid)
{
	if((carid >= 16) && (carid <= 38))
	{
		return 1;
	}
	return 0;
}

if you wanna add more vehicle,you should re-edit
Who have idea to make it easier and more convenient?



Re : How to add more car in LARP without vehicleid - ricardo178 - 08.02.2012

First: Big charathers wont help you getting helped at all.. It looks noob.
Second, adding vehicles to LARP will bug the whole car system.


Re: How to add more car in LARP without vehicleid - milanosie - 08.02.2012

Larp is a terrible gm to edit,
U will have to change all defines for the cars, i recommend either dont add cars or get/make a new gamemode