Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Threaded Mode
Can I use While loop in OnPlayerKeyStateChange
NeXoR
Gangsta
Posts: 577
Threads: 183
Joined: Jun 2013
Reputation:
0
#1
10.04.2016, 08:45
I wanna do something like when a playere is using KEY_FIRE something will happen
Can I do like while(newkeys & KEY_FIRE) ?
Find
Reply
Virtual1ty
Banned
Posts: 734
Threads: 8
Joined: Jun 2009
#2
10.04.2016, 09:00
You can detect if they're holding the key. Check the
Wiki
page.
Find
Reply
NeXoR
Gangsta
Posts: 577
Threads: 183
Joined: Jun 2013
Reputation:
0
#3
10.04.2016, 09:03
Quote:
Originally Posted by
Virtual1ty
You can detect if they're holding the key. Check the
Wiki
page.
Yeah I have already figured it out after Wiki'ing KeyStateChange
Thanks anyways
Find
Reply
«
Next Oldest
|
Next Newest
»
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help