f8 detecting? - 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: f8 detecting? (
/showthread.php?tid=148390)
f8 detecting? -
Lovinglife - 16.05.2010
Sup all,
Well i know this
https://sampwiki.blast.hk/wiki/GetPlayerKeys ....many keys k, but is there a way to create a script that detects when i press f8(or ESC, pausing key) in order to do a screenshot? And is screenshoot key changeble?
Regards
Lovinglife
Re: f8 detecting? -
Whitetiger - 17.05.2010
OnPlayerUpdate would not be called if they are paused, i think the same goes for screenshots?
Re: f8 detecting? -
Lovinglife - 17.05.2010
Quote:
Originally Posted by [___
Whitetiger [ www.sampcommunity.com] ]
OnPlayerUpdate would not be called if they are paused, i think the same goes for screenshots?
|
i think OnPlayerUpdate is useless too
Btw is there a way to detect If a player is freezed? i mean if u put a certain FS working in a certain GM may u create a func that detect when a player is freezed by THAT gm? If u answer no, is there a chance to do this if u know what variabls the gm is using?
Re: f8 detecting? -
Lovinglife - 20.05.2010
Quote:
Originally Posted by Seif_
You can easily detect if a player is pausing with OnPlayerUpdate. The callback is not called when he's paused.
|
i found a y less script but its for 02x i think may u gimme an input to create this?
Re: f8 detecting? -
Lovinglife - 21.05.2010
Quote:
Originally Posted by Lovinglife
Quote:
Originally Posted by Seif_
You can easily detect if a player is pausing with OnPlayerUpdate. The callback is not called when he's paused.
|
i found a y less script but its for 02x i think may u gimme an input to create this?
|
ok i found it in and old pastenbin link btw this fs detect "as" pause if ur not moving...for example if u camp for 10 sec(if i set 10 sec) u are seen as pauser...there is a way to work directly with ESC key?i guess not