SA-MP Forums Archive
[SUGGESTION] Buttons - 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: [SUGGESTION] Buttons (/showthread.php?tid=195645)



[SUGGESTION] Buttons - Speeds - 03.12.2010

Hi.

I have an idea which can benefit the Role Play servers. The important thing is the buttons. Could be placed anywhere on your screen, and there could be things in them. For example, should not be a startup engine / engine but just a key pressure. Even if it could also get in through a vehicle while staying at a hostel not. For example there is only a foot from the same anim be assigned.

Welcome
Speeds


Re: [SUGGESTION] Buttons - Speeds - 03.12.2010

Sorry for the Duple post .I could not find the editing.
Example:



(The far right.)


Re: [SUGGESTION] Buttons - Hiddos - 03.12.2010

You could also use textdraws with OnPlayerKeyStateChange, that's what I usually do. Looks way better and is easier to use.


Re: [SUGGESTION] Buttons - WillyP - 03.12.2010

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
You could also use textdraws with OnPlayerKeyStateChange, that's what I usually do. Looks way better and is easier to use.
^^

Make the TD's light up or something when you select them.


Re: [SUGGESTION] Buttons - CrucixTM - 09.12.2010

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
You could also use textdraws with OnPlayerKeyStateChange, that's what I usually do. Looks way better and is easier to use.
So....

how do you detect if the player's mouse is over the button? ._O


Re: [SUGGESTION] Buttons - Macluawn - 09.12.2010

Seif made a custom cursor, you could use that. Its server-sided so you could get the cordinates from it.


AW: [SUGGESTION] Buttons - Trooper[Y] - 09.12.2010

... thats not comfortable to use


Re: [SUGGESTION] Buttons - BLAbla93 - 09.12.2010

What I think would be real bad ass if there was a way to detect the x and y coordinate's of the in-game cursor so we could use it to make custom TD buttons and stuff