20.01.2010, 17:45
I can use something like IsPlayerInVehicle(playerid, vehicleid) in a NPC script?
Thanks for all help.
Thanks for all help.
if(GetPlayerVehicleID(playerid) == vehicleid)
{
// code.
}
stock IsPlayerInVehicle(playerid, vehicleid)
{
if(GetPlayerVehicleID(playerid) == vehicleid) return true;
return false;
}