Bug with cars
#6

1. Go to
Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
add this:
Code:
if(newcar == MYOLDCAR || newcar == MYOLDCAR || newcar == MYOLDCAR)
		{
		    if(PlayerInfo[playerid][pMember] == FACTIONID || PlayerInfo[playerid][pLeader] == FACTIONID){ }
		    else
		    {
		        SendClientMessage(playerid,COLOR_LIGHTRED,"   You don't have keys of this vehicle !");
		        RemovePlayerFromVehicle(playerid);
		    }
		}
How to find oldcar ? Enter in vehicle then type /oldcar

2. Remake
Code:
public IsACopCar
( remake oldcar's from all LSPD vehicles )

3. If you make the point 2 (2. Remake public IsACopCar ( remake oldcar's from all LSPD vehicles ) ) this will be solved.

xD
Reply


Messages In This Thread
Bug with cars - by Chris_Morrison - 24.08.2011, 13:31
Re: Bug with cars - by =WoR=Varth - 24.08.2011, 13:53
Re: Bug with cars - by Chris_Morrison - 24.08.2011, 14:00
Re: Bug with cars - by =WoR=Varth - 24.08.2011, 14:09
Re: Bug with cars - by Chris_Morrison - 24.08.2011, 14:17
Re: Bug with cars - by qUick1337 - 24.08.2011, 14:41

Forum Jump:


Users browsing this thread: 1 Guest(s)