03.08.2012, 06:02
pawn Код:
stock HayDos(vehicleid, playerid)
{
for(new i = 0; i < GetMaxPlayers(); i++)
if(IsPlayerInVehicle(i, vehicleid))
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER && GetPlayerState(i) == PLAYER_STATE_PASSENGER) return 1;
else return 0;
}