[Ajuda] Botz Fake-Kill
#10

Quote:
Originally Posted by leonardo1434
Посмотреть сообщение
Tenta isso, fiz aqui usando GetPlayerDistanceFromPoint acho que deve funcionar.
pawn Код:
stock Float:GetDistanceBetweenPlayers(playerid,vitima)
{
    new Float:distancia[3];
    GetPlayerPos(playerid,distancia[0],distancia[1], distancia[2]);
    return GetPlayerDistanceFromPoint(vitima,distancia[0],distancia[1],distancia[2]);
}

// mode de usar
GetDistanceBetweenPlayers(playerid,vitima) < 5) // caso esteja a menos de 5 metros.
E se matar o player de sniper? '-'
Reply


Messages In This Thread
Botz Fake-Kill - by Luciano* - 20.07.2012, 14:09
Re: Botz Fake-Kill - by [XPG]MarlonCS - 20.07.2012, 14:20
AW: Botz Fake-Kill - by billy the kid - 20.07.2012, 14:24
Re: Botz Fake-Kill - by Luciano* - 20.07.2012, 21:48
Re: Botz Fake-Kill - by leonardo1434 - 20.07.2012, 22:04
Re: Botz Fake-Kill - by Luciano* - 21.07.2012, 13:56
Re: Botz Fake-Kill - by Luciano* - 21.07.2012, 15:17
Re: Botz Fake-Kill - by leonardo1434 - 21.07.2012, 15:19
Re: Botz Fake-Kill - by matheuspain - 21.07.2012, 17:17
Re: Botz Fake-Kill - by Mercurio - 22.07.2012, 01:09

Forum Jump:


Users browsing this thread: 7 Guest(s)