[Ajuda] Sistema
#2

Acho que da pra fazer em
Quote:

IsPlayerInRangeOfPoint

sу verificar se ele esta perto de alguma fazenda Seila...
Exemplo:
Код:
if (!strcmp("/plantar", cmdtext))
{
    if (IsPlayerInRangeOfPoint(playerid, 7.0, 2695.6880, -1704.6300, 11.8438)) 
    {
    	SendClientMessage(playerid,0xFFFFFFFF,"Vocк nгo esta Na Fazenda, por isso nгo pode plantar.");
    }
 
    return 1;
}
Reply


Messages In This Thread
Sistema - by SukMathcuck - 20.11.2016, 10:52
Re: Sistema - by Carlos001 - 20.11.2016, 13:31

Forum Jump:


Users browsing this thread: 1 Guest(s)