SA-MP Forums Archive
[Ajuda] Oque fazer? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Oque fazer? (/showthread.php?tid=442540)



Oque fazer? - StringBR - 08.06.2013

aaaaa


Re: Oque fazer? - focaximubh - 08.06.2013

Quote:
Originally Posted by StringBR
Посмотреть сообщение
aaaaa
Crie uma callback para ser usada no comando
como esta.....

pawn Код:
forward LocaisQueVcQuer(playerid;
public LocaisQueVcQuer(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        if(IsPlayerInRangeOfPoint(playerid,1.0, X, Y,Z) || IsPlayerInRangeOfPoint(playerid,1.0,X, Y,Z))
        {
            return 1;
        }
        else if(IsPlayerInRangeOfPoint(playerid,1.0,X, Y,Z) || IsPlayerInRangeOfPoint(playerid,1.0,X, Y,Z))
        {
            return 1;
        }
    }
    return 0;
}