Can someone tell me what it is ( _: )
#3

I've used that in a stock to get the distance between 2 players:

pawn Код:
stock GetDistance(playerid, targetid)
{
    new Float:tX, Float:tY, Float:tZ, Float:distance;
    GetPlayerPos(targetid, tX, tY, tZ), distance = GetPlayerDistanceFromPoint(playerid, tX, tY, tZ);
    return _:distance;
}
So I guess it returns floats?
Reply


Messages In This Thread
Can someone tell me what it is ( _: ) - by RaeF - 22.12.2014, 09:17
Re: Can someone tell me what it is ( _: ) - by CalvinC - 22.12.2014, 10:22
Re: Can someone tell me what it is ( _: ) - by Kyance - 22.12.2014, 10:52
Re: Can someone tell me what it is ( _: ) - by Threshold - 22.12.2014, 11:08
Re: Can someone tell me what it is ( _: ) - by Evocator - 22.12.2014, 11:37
Re: Can someone tell me what it is ( _: ) - by Vince - 22.12.2014, 11:38
Re: Can someone tell me what it is ( _: ) - by RaeF - 22.12.2014, 12:07

Forum Jump:


Users browsing this thread: 1 Guest(s)