SA-MP Forums Archive
Small Question - 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: Small Question (/showthread.php?tid=92925)



Small Question - joeri55 - 22.08.2009

I've got a small question.
How can I make something that if you walk on a I icon a message appears.

SendClientMessage(playerid, COLOR_RED, " Press /enter to get in the building.");

I know that but how do I set if the player is at that position?

And I know it's a noob question but I haven't been scripting for a long time.


Re: Small Question - HuRRiCaNe - 22.08.2009

u can use OnPlayerPickupPickup


Re: Small Question - joeri55 - 23.08.2009

It works now but if I stand on it it keeps spamming.
How can you make something that it waits like 20 seconds and then the message appears again?


Re: Small Question - Memoryz - 23.08.2009

This tutorial will show you:

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