[DUVIDA] GetPlayerMoney
#2

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
GetPlayerMoney(playerid);
if(GetPlayerMoney(playerid)>=100)
{
if(pickupid == PickupMp5Entrar)
GivePlayerWeapon(playerid, 29, 500);
GivePlayerMoney(playerid, -300);
}
if(GetPlayerMoney(playerid)<=299) // Ele nгo tem dinheiro, sendo que й menor ou igual a 99
{
SendClientMessage(playerid, 0x008080FF,"Nгo tem dinheiro suficiente");
}
Tenta nгo sei se vai da certo.
Reply


Messages In This Thread
[DUVIDA] GetPlayerMoney - by abestado - 19.12.2010, 21:23
Re: [DUVIDA] GetPlayerMoney - by diretor7 - 19.12.2010, 21:26
Re: [DUVIDA] GetPlayerMoney - by abestado - 19.12.2010, 21:30
Re: [DUVIDA] GetPlayerMoney - by faeldk - 19.12.2010, 21:34
Re: [DUVIDA] GetPlayerMoney - by diretor7 - 19.12.2010, 21:38
Re: [DUVIDA] GetPlayerMoney - by abestado - 19.12.2010, 21:45
Re: [DUVIDA] GetPlayerMoney - by zSuYaNw - 19.12.2010, 21:48
Re: [DUVIDA] GetPlayerMoney - by TiagoPS - 19.12.2010, 21:53

Forum Jump:


Users browsing this thread: 2 Guest(s)