SA-MP Forums Archive
problemas com pickups - 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)
+--- Thread: problemas com pickups (/showthread.php?tid=320109)



problemas com pickups - bastiga - 21.02.2012

estou com um problema nos pickups, e que eles so estao funcionando digitando o codigo que tem por traz do dialog, e eu queria colocar eles a abrir o dialog apertando f...


Respuesta: problemas com pickups - bastiga - 22.02.2012

ajudem ae por favor.....


Re: problemas com pickups - Mauzen - 22.02.2012

English only here. Why dont you post in the portuguese section if you cant speak english?

Quote:

I have a problem in the pickups, and they're just running by typing the code that is behind the dialog, and I wanted to put them to open the dialog by pressing f ...

Please help .....

Store the pickups coordinates somewhere, then use OnPlayerKeyStateChange to detect when a player presses f, and IsPlayerInRangeOfPoint to detect of the player who pressed is near a pickup.