19.12.2010, 21:48
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == PickupMp5Entrar)
{
if(!GetPlayerMoney(playerid) > 100)
{
SendClientMessage(playerid,0x008080FF,"Nгo tem dinheiro suficiente");
return 1;
}
GivePlayerWeapon(playerid, 29, 500);
GivePlayerMoney(playerid, -300);
}
return 1;
}