Pickup not showing
#1

pawn Код:
new smpickup;
pawn Код:
smpickup = CreatePickup(1239, 23, -2442.6345, 754.7228, 35.1719);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == smpickup)
  {
        GameTextForPlayer(playerid, "~g~S~w~upermercado~n~~g~Para entrar, ~w~use ~g~'/entrar'", 4000, 4);
    }
    return 1;
}
Sorry, but can't understand why it ain't showing...
Reply
#2

Try replacing the "23" with "2"
Reply
#3

no changes
Reply
#4

Hmm,you sure that 1239 is a vaild pickup id?Try using another one.Just for testing.
Reply
#5

yes, it exists it's an info icon.
Reply
#6

Look at this

https://sampwiki.blast.hk/wiki/CreatePickup

You have 5 arguements instead of 6, you are missing the last one.
Reply
#7

Quote:
Originally Posted by [NaB
Hiitch - No srsly, Im a NaB ! ]
Look at this

https://sampwiki.blast.hk/wiki/CreatePickup

You have 5 arguements instead of 6, you are missing the last one.
He means, this;
pawn Код:
smpickup = CreatePickup(1239, 23, -2442.6345, 754.7228, 35.1719, -1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)