SA-MP Forums Archive
Pickup not showing - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Pickup not showing (/showthread.php?tid=100681)



Pickup not showing - Hot - 05.10.2009

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...



Re: Pickup not showing - [XST]O_x - 05.10.2009

Try replacing the "23" with "2"


Re: Pickup not showing - Hot - 05.10.2009

no changes


Re: Pickup not showing - [XST]O_x - 05.10.2009

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


Re: Pickup not showing - Hot - 05.10.2009

yes, it exists it's an info icon.


Re: Pickup not showing - Hiitch - 05.10.2009

Look at this

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

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


Re: Pickup not showing - Abernethy - 05.10.2009

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);