Anti Team Jack
#5

I did! found this:

pawn Код:
new vehicleid = GetPlayerVehicleID(playerid);
  for(new i; i < GetMaxPlayers(); i++)
  {
    if(IsPlayerConnected(i))
    {
      if(IsPlayerInVehicle(i,vehicleid) && GetPlayerState(i) == PLAYER_STATE_DRIVER && GetPlayerTeam(i) == GetPlayerTeam(playerid))
      {
                SetPlayerHealth(playerid,-9999);
      }
    }
  }
But its buggy and it kills u even if tehre is noone is the car, plz can u help me fix it?


Edit: Here is my other forum... read the last posts

http://forum.sa-mp.com/index.php?topic=1318570
Reply


Messages In This Thread
Anti Team Jack - by Tigerbeast11 - 06.11.2009, 16:50
Re: Anti Team Jack - by Correlli - 06.11.2009, 16:54
Re: Anti Team Jack - by Tigerbeast11 - 06.11.2009, 17:47
Re: Anti Team Jack - by Correlli - 06.11.2009, 17:51
Re: Anti Team Jack - by Tigerbeast11 - 06.11.2009, 17:53
Re: Anti Team Jack - by MadeMan - 06.11.2009, 18:00
Re: Anti Team Jack - by Tigerbeast11 - 06.11.2009, 18:04
Re: Anti Team Jack - by Luka P. - 06.11.2009, 18:13
Re: Anti Team Jack - by Tigerbeast11 - 06.11.2009, 18:16
Re: Anti Team Jack - by Luka P. - 06.11.2009, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)