06.11.2009, 17:53
I did! found this:
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
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);
}
}
}
Edit: Here is my other forum... read the last posts

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