SA-MP Forums Archive
[ajuda]Existe isso ? - 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]Existe isso ? (/showthread.php?tid=310667)



[ajuda]Existe isso ? - kshorro - 13.01.2012

Tipo To fazendo Uma FS/, Mas tipo eu quero Colocar um comando em Tres lugares espalhado
tipo eu vou usar.
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 1.0, -2161.1670,640.3607,1052.3817))
Minha pergunta й a seguinte TEM COMO COLOCAR OUTRAS COORDENADAS DENTRO DESSA PARA QUE EU NAO PRECISE CRIAR DENOVO NOVOS COMANDO ?


Re: [ajuda]Existe isso ? - Cristhian - 13.01.2012

tem como fazer isso
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 1.0, -2161.1670,640.3607,1052.3817) || IsPlayerInRangeOfPoint(playerid, 1.0, -2161.1670,640.3607,1052.3817))



Re: [ajuda]Existe isso ? - kshorro - 13.01.2012

Quote:
Originally Posted by Cristhian
Посмотреть сообщение
tem como fazer isso
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 1.0, -2161.1670,640.3607,1052.3817) || IsPlayerInRangeOfPoint(playerid, 1.0, -2161.1670,640.3607,1052.3817))
BLZ VOU FAZER UM TESTE SE FUNFA EU DO +REP