[HELP] Pickup that makes GameTextForPlayer? - 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: [HELP] Pickup that makes GameTextForPlayer? (
/showthread.php?tid=88337)
[HELP] Pickup that makes GameTextForPlayer? -
FreddeN - 25.07.2009
I've maked a pickup, this is how it looks like:
Код:
pickup = CreatePickup(1239, 1, 362.1396,173.6584,1008.3828);
Now, I'm going for
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
What should I write at PickupPickup to get a GameTextForPlayer text when I enter the pickup?
Thanks
Re: [HELP] Pickup that maked GameTextForPlayer? -
Jefff - 25.07.2009
Код:
if(pickupid == pickup)
{
// do something
}
Re: [HELP] Pickup that makes GameTextForPlayer? -
Abernethy - 25.07.2009
Yeh, use PlayerToPoint aswell. Pickups are bugged.