[Pedido] Create3DTextLabel + dinheiro ao passar
#2

PS: Nгo testei.
PHP Code:
new A_XM[MAX_PLAYERS];
public 
OnGameModeInit()
{
      
SetTimer("AC"5000true);// coloquei 5s
     
return true;
}
forward AC();
public 
AC()
{
      for(new 
=0i<MAX_PLAYERSi++)
      {
            if(
IsPlayerInRangeOfPoint(i1x,y,z)//cordenadas x y z, e o 1 й o range
            
{
                   if(
A_XM[i] == 1) return SendClientMessage(i, -1"Vocк jб pegou o dinheiro!");
                   
GivePlayerMoney(iGetPlayerMoney(i)+3000);
                   
A_XM[i]++;
            }
      }
      return 
true;

Reply


Messages In This Thread
Create3DTextLabel + dinheiro ao passar - by iName - 12.10.2016, 11:12
Re: Create3DTextLabel + dinheiro ao passar - by Casttiel - 12.10.2016, 11:44
Re: Create3DTextLabel + dinheiro ao passar - by iName - 12.10.2016, 12:02
Re: Create3DTextLabel + dinheiro ao passar - by Hyrkul - 12.10.2016, 13:54
Re: Create3DTextLabel + dinheiro ao passar - by viniciuship - 12.10.2016, 13:58
Re: Create3DTextLabel + dinheiro ao passar - by iName - 12.10.2016, 14:42
Re: Create3DTextLabel + dinheiro ao passar - by FalcaoNC - 12.10.2016, 14:42
Re: Create3DTextLabel + dinheiro ao passar - by Casttiel - 12.10.2016, 15:23
Re: Create3DTextLabel + dinheiro ao passar - by ipsLuan - 12.10.2016, 16:26
Re: Create3DTextLabel + dinheiro ao passar - by PedroEduardo - 12.10.2016, 20:23

Forum Jump:


Users browsing this thread: 1 Guest(s)