[Cars for factions]
#2

pawn Код:
new Faction1Cars[10]; // 10 - How many cars you want

Faction1Cars[0] = AddStaticVeh(....
Faction1Cars[1] = AddStaticVeh(..
...
Later in script
pawn Код:
for(new i; i < sizeof(Faction1Cars); i++;)
{
if(GetPlayerVehicleID(playerid) == Faction1Cars[i])
{
//This is faction car
}
}
Reply


Messages In This Thread
[Cars for factions] - by [RP]Famyli[RP] - 15.09.2010, 09:52
Re: [Cars for factions] - by Voldemort - 15.09.2010, 10:00
Re: [Cars for factions] - by [RP]Famyli[RP] - 15.09.2010, 10:14
Re: [Cars for factions] - by playbox12 - 15.09.2010, 13:36

Forum Jump:


Users browsing this thread: 1 Guest(s)