Posts: 153
Threads: 20
Joined: Sep 2009
Reputation:
0
Hello everyone, I'm just wondering how to add faction cars in LA-RP Gamemode?
I want to add cars in Grove street who can drive only members of Grove Street, and add cars for other factions. Can someone help me?
Posts: 153
Threads: 20
Joined: Sep 2009
Reputation:
0
I posted it, but if someone wants to help me here, I would be really pleased.
Posts: 607
Threads: 41
Joined: Apr 2009
Quote:
Originally Posted by Haxby
I posted it, but if someone wants to help me here, I would be really pleased.
|
You simply addstatisctic vehicle in gamemode than you search example IsGroveCar and add there car ID (NOT MODEL ID). You can get car id by /oldcar than you add there example :
Quote:
public IsAGroveCar(carid)
{
if((carid >= (carid)112 && carid <= (carid)113) || (carid >= 180 (car id) && carid <= (carid)181)) // remove (carid) (>=.. | ..<=) means from id to id there must be same ids in if they arent simply add (carid (CARID) || next..
{
return 1;
}
return 0;
}
|
Hope you understand