SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 16/01/2010, 04:32 PM   #1
aNdReSkKkK
Big Clucker
 
Join Date: Jan 2010
Posts: 70
Reputation: 0
Default can u identify something like "On player left click"

can u do that, so that I can know when a player does right click in the car (or nitro key) and when they do the nitro is added so on second click nitro is activated :P
aNdReSkKkK is offline   Reply With Quote
Old 16/01/2010, 05:13 PM   #2
Karlip
High-roller
 
Join Date: Oct 2007
Location: Click To Show
Posts: 1,478
Reputation: 102
Default Re: can u identify something like "On player left click"

Yes, called key detection.

Check the wiki for more information.
__________________
Karlip is offline   Reply With Quote
Old 16/01/2010, 09:36 PM   #3
aNdReSkKkK
Big Clucker
 
Join Date: Jan 2010
Posts: 70
Reputation: 0
Default Re: can u identify something like "On player left click"

thanks
aNdReSkKkK is offline   Reply With Quote
Old 17/01/2010, 04:29 AM   #4
SuperS82
Big Clucker
 
Join Date: Jul 2008
Location: localhost
Posts: 81
Reputation: 0
Default Re: can u identify something like "On player left click"

OnPlayerKeyStateChange is what you want to look for.
__________________
SuperS82 is offline   Reply With Quote
Old 17/01/2010, 07:04 PM   #5
aNdReSkKkK
Big Clucker
 
Join Date: Jan 2010
Posts: 70
Reputation: 0
Default Re: can u identify something like "On player left click"

Yes sir already scripted it and it roooooockssssssss
aNdReSkKkK is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is player talks, use OnePlayAnim(playerid,"PED","IDLE_CHAT",4.0,0,0,0,0,0); Ihsan_Cingisiz Help Archive 5 30/05/2010 03:26 PM
a player sat down in any car left or right "Alt" pressed and him kick. _S_ Help Archive 7 04/03/2010 07:38 PM
NO servers found when I click "Internet tab" or "official tab" need help plzzz! Jmaster543 Server Support 1 03/05/2009 12:27 AM
How to make alot of cool stuff?? "Click 4 Example" Sal_Kings Everything and Nothing 1 01/05/2009 04:58 PM


All times are GMT. The time now is 02:47 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.