08.10.2012, 07:38
Well you need to loop through all online players
There are other ways but right now I'm on m phone
pawn Код:
//this goes in your cmd
for(new i; i<GetMaxPlayers(); i++)
{
If(IsPlayerConnected(i) && GetPlayerVehicleID(playerid) == GetPlayerVehicleID(i)){
//this should check if the player that typed the cmd and some other player are in the same vehicle
}
}