[Ajuda] Pegar kit so em alguns lugares - 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] Pegar kit so em alguns lugares (
/showthread.php?tid=506680)
Pegar kit so em alguns lugares -
goku114 - 13.04.2014
assim ele pega o kit so em tal interior
PHP код:
if(GetPlayerInterior(playerid) != 4 && GetPlayerInterior(playerid) != 6) return SendClientMessage(playerid, 0xA9C4E4FF, "Vocк nгo estб na Loja de armas");
mas como tem varios int 6...
como eu posso fazer? tenho que usar PlayerToPoint

ou tem algum outra funзгo
Re: Pegar kit so em alguns lugares -
shittt - 13.04.2014
Isso pode te ajudar
https://sampwiki.blast.hk/wiki/Useful_Fu...IsPlayerInArea
Re: Pegar kit so em alguns lugares -
PT - 13.04.2014
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
essa funзao para as cordenadas