IsPlayerBetweenTwoPoints problem
#1

It doesn't work:
PHP код:
stock IsPlayerBetweenTwoPoints(playeridFloat:minxFloat:maxxFloat:minyFloat:maxy)
{
    new 
Float:xxFloat:yyFloat:zz;
    
GetPlayerPos(playeridxxyyzz);
    if (
xx minx && xx maxx && yy miny && yy maxy) return 1;
    return 
0;

I'm using here:
PHP код:
if(IsPlayerBetweenTwoPoints(playerid, -458.4307,-1874.7341, -423.1204,-1845.1359))
    {
code
Please help me
Reply
#2

solved!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)