[Pedido] Objeto - 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: [Pedido] Objeto (
/showthread.php?tid=665115)
Objeto -
hurubuh - 22.03.2019
Poderiam me ensinar ou fazer, quando eu estiver chegando perto deste objeto aparacer uma mensagem em GameText?
PHP код:
CreateObject(18452, 1197.40088, -1712.27893, 15.22650, 0.00000, 0.00000, 0.00000);
Re: Objeto -
ipsLuan - 22.03.2019
Pega as coordenadas, faзa um timer e verifica a posiзгo.
Re: Objeto -
hurubuh - 22.03.2019
Quote:
Originally Posted by ipsLuan
Pega as coordenadas, faзa um timer e verifica a posiзгo.
|
Deixa pra lб, nem do conta, ja estudei pa karalho mas n da,
Re: Objeto -
RenanMsV - 22.03.2019
Triste
Re: Objeto -
FerrariL - 22.03.2019
Quote:
Originally Posted by hurubuh
Deixa pra lб, nem do conta, ja estudei pa karalho mas n da,
|
Usa o search, tem um monte de tуpicos explicando algo parecido.
Re: Objeto -
Noppet - 22.03.2019
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Espero que isso ajude
Re: Objeto -
ipsLuan - 22.03.2019
Quote:
Originally Posted by hurubuh
Deixa pra lб, nem do conta, ja estudei pa karalho mas n da,
|
Estudou errado entгo.
Tem que saber o que estudar, nй...
Nгo adianta estudar A para tentar fazer algo com B.
Re: Objeto -
ImScoope - 30.03.2019
Cara estuda um pouco mais
PHP код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1197.40088, -1712.27893, 15.22650)) GameTextForPlayer(playerid, "sua mensagem", tempo, tipo);
}