SA-MP Forums Archive
[Enter/Exit] Interior - KeyState or Dialog(pickup) - 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: [Enter/Exit] Interior - KeyState or Dialog(pickup) (/showthread.php?tid=640587)



[Enter/Exit] Interior - KeyState or Dialog(pickup) - David (Sabljak) - 04.09.2017

Hey,

What's faster and safer to use when enter/exit.

Pickups with dialog response or key pressed, like F / Enter.

Thanks in advance


Re: [Enter/Exit] Interior - KeyState or Dialog(pickup) - 10MIN - 04.09.2017

Why you don't try to test them? To see what is faster? I tested for example what is faster: looping through all players in multiple functions, or loop through all players and passsing playerid as parameter. If you want an example for benchmarking you can modify the filterscript attached.


Re: [Enter/Exit] Interior - KeyState or Dialog(pickup) - David (Sabljak) - 04.09.2017

Thanks for that, im asking if someone has expirience with that