Faction vehicles
#5

There's a better way to make a faction cars. Here's how i do it for my script, for example, this is my san news faction cars. Basically the NewsCars in my case starts from NewsCars[0] and goes all the way up to NewsCars[6], which'll = 7 of them. If you're working with an rp script, this way is alot easier, that way, if you want to make it where x type of car like say, 2 infernuses is a faction car, but the others ain't. This is the way to do it.

Код:
new NewsCars[7]; // This is basically the amount of Faction Cars you want for that car

		if(newcar == NewsCars[1])//News Van 2
		{
		    if(PlayerInfo[playerid][pAdmin] < 3)
		    {
		        if(PlayerInfo[playerid][pMember] != 9)
		        {
				    SendClientMessage(playerid, COLOR_LIGHTRED, "	You don't have the keys!");
	                RemovePlayerFromVehicle(playerid);
				}
			}
			return 1;
		}
Reply


Messages In This Thread
Faction vehicles - by FL3GM4 - 18.12.2012, 00:37
Re: Faction vehicles - by Faisal_khan - 18.12.2012, 03:34
Re: Faction vehicles - by Racer99 - 18.12.2012, 03:34
Re: Faction vehicles - by Faisal_khan - 18.12.2012, 05:02
Re: Faction vehicles - by Jay_Dixon - 18.12.2012, 05:51
Re: Faction vehicles - by FL3GM4 - 18.12.2012, 10:03
Re: Faction vehicles - by Faisal_khan - 18.12.2012, 14:00
Re: Faction vehicles - by Mike_Peterson - 18.12.2012, 15:39
Re: Faction vehicles - by FL3GM4 - 18.12.2012, 17:36

Forum Jump:


Users browsing this thread: 1 Guest(s)