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