IsACopCar - Kicks you off if duty == 0
#4

Quote:
Originally Posted by Chivava
Yes but what if you're then on medic duty ? then you're able to use this vehicle.. I want it also to check that the player is pMember 1 / pLeader 1
and so on.
pawn Code:
if(IsACopCar(vehicleid))
{
if(OnDuty[playerid]==0)
{
RemovePlayerFromVehicle(playerid);
if(OnMDuty[playerid]==1)
{
}
}
}
Untested and doubt its going to work, Try it and tell me if it does or not,
I cant do the pMember and pLeader as im unsure the actual code
Reply


Messages In This Thread
IsACopCar - Kicks you off if duty == 0 - by Chivava - 30.01.2010, 19:57
Re: IsACopCar - Kicks you off if duty == 0 - by Torran - 30.01.2010, 20:03
Re: IsACopCar - Kicks you off if duty == 0 - by Chivava - 30.01.2010, 20:10
Re: IsACopCar - Kicks you off if duty == 0 - by Torran - 30.01.2010, 20:16
Re: IsACopCar - Kicks you off if duty == 0 - by Chivava - 30.01.2010, 20:22
Re: IsACopCar - Kicks you off if duty == 0 - by NewYorkRP - 30.01.2010, 20:33
Re: IsACopCar - Kicks you off if duty == 0 - by Chivava - 30.01.2010, 21:18
Re: IsACopCar - Kicks you off if duty == 0 - by Chivava - 30.01.2010, 21:23
Re: IsACopCar - Kicks you off if duty == 0 - by matrix_smq - 30.01.2010, 21:52
Re: IsACopCar - Kicks you off if duty == 0 - by Chivava - 30.01.2010, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)