IsVehicleOccupied i GIVE REP ++
#1

How to move IsVehicleOccupied to playerid , i tried something like this and nothing works:
pawn Код:
stock IsVehicleOccupied2(vehicleid,playerid)
{
    if(IsPlayerInVehicle(playerid, vehicleid)) return 1;
    return 0;
}
And i added a test:
pawn Код:
At on playerentervehicle
    if(IsVehicleOccupied2(251,playerid))
    {
        SCM(playerid, -1, "Test");
    }
return 1;
Reply


Messages In This Thread
IsVehicleOccupied i GIVE REP ++ - by buburuzu19 - 16.12.2014, 15:48
Re: IsVehicleOccupied i GIVE REP ++ - by M4D - 16.12.2014, 16:52
Re: IsVehicleOccupied i GIVE REP ++ - by Divergent - 16.12.2014, 17:26

Forum Jump:


Users browsing this thread: 3 Guest(s)