SA-MP Forums Archive
[Ajuda] comando - 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] comando (/showthread.php?tid=608195)



comando - social - 28.05.2016

alguйm pode me ajuda como fasso pra fazer quando o player chega em um check point ele digita /plantгo vai comeзa a conta ums segundos


Respuesta: comando - OverKiller - 28.05.2016

Use a funзгo, GameTextForPlayer. > https://sampwiki.blast.hk/wiki/GameTextForPlayer

Vocк faz o check dai usa a funзгo ' IsPlayerInRangeOfPoint ' para verificar se ele estar perto do check, por que se vocк nгo usar a funзгo ' IsPlayerInRangeOfPointt ', quando ele digitar /plantгo em qualquer lugar do mapa vai aparecer o segundos na tela, jб vocк usando a funзхes acima, o texto sу vai aparecer se ele estiver perto do Check.

IsPlayerInRangeOfPoint = https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

DA REPUTAЗГO SE TE AJUDOU.