19.01.2015, 22:37
How i can stop other team mate to stop shooting his teammate vehicle..
because the vehicle Got damage and all got killed..
Under OnPlayerTakeDamage
if(GetPlayerTeam(issuerid)==GetPlayerTeam(playerid ))
{
new GetPlayerVehicleID(playerid);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
How i can stop damage to Team mate vehicle...
}
}
because the vehicle Got damage and all got killed..
Under OnPlayerTakeDamage
if(GetPlayerTeam(issuerid)==GetPlayerTeam(playerid ))
{
new GetPlayerVehicleID(playerid);
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
How i can stop damage to Team mate vehicle...
}
}