SA-MP Forums Archive
Pickups or keys? - 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: Pickups or keys? (/showthread.php?tid=262823)



Pickups or keys? - Osviux - 19.06.2011

I would like to ask what is better. Using pickups or the ENTER key for exits and entrances? Which one would use less host resources?


Re: Pickups or keys? - Mr4rtur - 19.06.2011

Enter is better. 1000ms(orsmth) timer uses more resources than checking if player pressed ENTER in OnPlayerKeyStateChange.


Re: Pickups or keys? - Osviux - 19.06.2011

Pickups are using timers O_o


Re: Pickups or keys? - Mr4rtur - 19.06.2011

Sorry, I forgot about OnPlayerPickUpPickup. But i think it's still easier with checking the keys.


Re: Pickups or keys? - Osviux - 19.06.2011

I would like more opinions. ;P Thanks for yours.


Re: Pickups or keys? - sleepysnowflake - 19.06.2011

I use the keys. More stylish ...


Re: Pickups or keys? - Osviux - 19.06.2011

I dont care about style... I only care about which one uses more host resources.


Re: Pickups or keys? - sleepysnowflake - 19.06.2011

I guess both use the same ?


Re: Pickups or keys? - Osviux - 19.06.2011

Guess... If you have no idea dont write.


Re: Pickups or keys? - Osviux - 20.06.2011

.UP.