24.08.2017, 23:58
I don't really understand what you're trying to say but if someone shoots a TEAM_COP player their wanted level is +4?
PHP код:
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
{
if(hittype == BULLET_HIT_TYPE_PLAYER)
{
if(gTeam[hitid] == TEAM_COP && gTeam[playerid] != TEAM_COP)
{
SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) + 4);
}
}
return 1;
}

