[Pedido] Create3DTextLabel + dinheiro ao passar
#1

um servidor tem o Create3DTextLabel que a pessoa passa encima e ganha dinheiro, alguem tem o codigo pra isso?
Reply
#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
#3

Quote:
Originally Posted by Castiell
View Post
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;

vlw, ai man pode me ajudar em mais uma coisa?

queria por speed boost + car jump + cmd /flip sem bug, sabe algum?

pois, oque eu coloquei no meu server, quem ta de carona tmb consegue usar o speed boost e car jump :c
Reply
#4

Estude:

SetVehicleVelocity para Speed Boost e Car Jump,
SetVehicleZAngle para dar um FLIP em seu veнculo.
Reply
#5

PLAYER_STATE_DRIVER

https://sampwiki.blast.hk/wiki/Playerstates
Reply
#6

Quote:
Originally Posted by Castiell
View Post
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;

nao pegou man, ta dando error

nesse server: 142.4.204.48:7782 la no /ammu tem la o local que dб dinheiro, queria isso -'
Reply
#7

Quote:
Originally Posted by Hyrkul
View Post
Estude:

SetVehicleVelocity para Speed Boost e Car Jump,
SetVehicleZAngle para dar um FLIP em seu veнculo.
PEDIDO

PEDIDO

PEDIDO
Reply
#8

Qual erro?
Reply
#9

Quote:
Originally Posted by FalcaoNC
View Post
PEDIDO

PEDIDO

PEDIDO
Porque nгo faz entгo?
Reply
#10

Poxa cara.. jб ta ficando chato isso .. Flood de pedidos seus cara
Tem que estudar as funзхes cara.. nгo tem jeito..
Serб que vocк realmente ta tentando ? pois nгo parece.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)