SA-MP Forums Archive
Team mate can damage my vehicle - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Team mate can damage my vehicle (/showthread.php?tid=528343)



Team mate can damage my vehicle - ReD_HunTeR - 27.07.2014

team player can damage other team mate cars is there any way to stop this?


Re: Team mate can damage my vehicle - iFarbod - 27.07.2014

pawn Код:
public OnGameModeInit()
{
    EnableVehicleFriendlyFire();
}
Name is wrong, it should be DisableVehicleFriendlyFire, also, make sure you are using SetPlayerTeam


Re: Team mate can damage my vehicle - Konstantinos - 27.07.2014

https://sampwiki.blast.hk/wiki/EnableVehicleFriendlyFire


Re: Team mate can damage my vehicle - ReD_HunTeR - 27.07.2014

Thanks-