[Ajuda] Checar player Pickup
#4

A funзгo OnPlayerPickupPickup й chamada quando um player passa encima de uma pick-up.
aconselho-te usar esta callback que o Paulor falou.

pode-se usar assim;

No Topo:
pawn Код:
new MinhaPickup;

No OnGameModeInit
pawn Код:
MinhaPickup = AddStaticPickup ( ... );

No OnplayerPickupPickup
pawn Код:
if(pickup ==   MinhaPickup){
    print("Passou na pickup");
}
Reply


Messages In This Thread
Checar player Pickup - by FreeGells - 22.10.2012, 15:03
Re: Checar player Pickup - by paulor - 22.10.2012, 15:07
Re: Checar player Pickup - by FreeGells - 22.10.2012, 15:20
Re: Checar player Pickup - by zSuYaNw - 22.10.2012, 15:24
Re: Checar player Pickup - by FreeGells - 22.10.2012, 15:32
Re: Checar player Pickup - by paulor - 22.10.2012, 15:39
Re: Checar player Pickup - by zSuYaNw - 22.10.2012, 15:58
Re: Checar player Pickup - by Lucas-Fc - 22.10.2012, 16:03

Forum Jump:


Users browsing this thread: 2 Guest(s)