Distance Shoot
#2

Код:
public OnPlayerGiveDamage(playerid, damagedid, Float: amount, weaponid, bodypart)
{
    new Float:x, Float:y, Float:z, Float:Distance;
    GetPlayerPos(damagedid, x, y, z);
    Distance = GetPlayerDistanceFromPoint(playerid, x,y,z);
    return 1;
}
Something like this. I hope it helped
Reply


Messages In This Thread
Distance Shoot - by Hostoxide - 06.11.2014, 11:32
Re: Distance Shoot - by scout322 - 06.11.2014, 14:07
Re: Distance Shoot - by scout322 - 06.11.2014, 14:11
Re: Distance Shoot - by Anzipane - 06.11.2014, 15:11

Forum Jump:


Users browsing this thread: