SetPlayerInArea
#10

That method could also work. Here's the function I made before but without warnings.

pawn Код:
stock SetPlayerInArea(playerid, Float:minx, Float:miny, Float:maxx, Float:maxy)
{
    return SetPlayerPosFindZ(playerid, float(floatround(random(floatround(maxx-minx))+minx)), float(floatround(random(floatround(maxy-miny))+miny)), 1000.0);
}
Such an ugly function for one that I don't think is very reliable...
Reply


Messages In This Thread
SetPlayerInArea - by xDeadlyBoy - 16.05.2011, 05:51
Re: SetPlayerInArea - by Markx - 16.05.2011, 06:02
Re: SetPlayerInArea - by xDeadlyBoy - 16.05.2011, 06:03
Re: SetPlayerInArea - by Backwardsman97 - 16.05.2011, 06:04
Re: SetPlayerInArea - by xDeadlyBoy - 16.05.2011, 06:06
Re: SetPlayerInArea - by Backwardsman97 - 16.05.2011, 06:07
Re: SetPlayerInArea - by xDeadlyBoy - 16.05.2011, 06:11
Re: SetPlayerInArea - by [L3th4l] - 16.05.2011, 06:17
Re: SetPlayerInArea - by xDeadlyBoy - 16.05.2011, 06:21
Re: SetPlayerInArea - by Backwardsman97 - 16.05.2011, 06:23

Forum Jump:


Users browsing this thread: 2 Guest(s)