OnPlayerEnterVehicle
#3

Hey

Change this
Code:
else if(IsACopCar(vehicleid))
{
            if(IsACop(playerid))
            {
            //other codes
             }
}
To

Code:
else if(!IsACopCar(vehicleid))
{
           if(IsACop(playerid))
           {
             //other codes
            }
}
Because when you use
! It is true
If you don't use it is false , so if he is not a cop then

Code:
if(IsACop(playerid))
And if he is a cop

Code:
if(!IsACop(playerid))
If you understand what I say.. good day
Reply


Messages In This Thread
OnPlayerEnterVehicle - by Alpay0098 - 18.04.2015, 14:52
Re: OnPlayerEnterVehicle - by Fel486 - 18.04.2015, 15:11
Re: OnPlayerEnterVehicle - by fuckingcruse - 18.04.2015, 15:22
Re: OnPlayerEnterVehicle - by Alpay0098 - 19.04.2015, 14:14
Re: OnPlayerEnterVehicle - by fuckingcruse - 19.04.2015, 14:30
Re: OnPlayerEnterVehicle - by Alpay0098 - 19.04.2015, 14:51
Re: OnPlayerEnterVehicle - by fuckingcruse - 19.04.2015, 14:52
Re: OnPlayerEnterVehicle - by Threshold - 19.04.2015, 15:01
Re: OnPlayerEnterVehicle - by Alpay0098 - 19.04.2015, 15:13
Re: OnPlayerEnterVehicle - by Threshold - 19.04.2015, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)