Check If he is in your car.
#2

Well you need to loop through all online players
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
     }
}
There are other ways but right now I'm on m phone
Reply


Messages In This Thread
Check If he is in your car. - by MechaTech - 08.10.2012, 07:22
Re: Check If he is in your car. - by park4bmx - 08.10.2012, 07:38

Forum Jump:


Users browsing this thread: 1 Guest(s)