13.01.2013, 12:28
[Include] [0.3X] mSelection 1.1 R3 - Create Model Preview Menus with a few lines of code
13.01.2013, 15:02
Good job, big thanks, D0erfler. Very useful for me.))
13.01.2013, 15:25
now i have new bug: when i click escape, the mouse pointer dissapears, but the menu is still on the screen. It happens almost every time i press ESC, but sometimes the menu dissapears. Does this happen only with me? WHat can cause theese problems?
13.01.2013, 15:56
Quote:
now i have new bug: when i click escape, the mouse pointer dissapears, but the menu is still on the screen. It happens almost every time i press ESC, but sometimes the menu dissapears. Does this happen only with me? WHat can cause theese problems?
|
Don't press ESC too fast after showing it with ShowModelSelectionMenu until the new version with dynamic lists is released
13.01.2013, 16:22
Ok. Will be waiting for new version I hope it will be released soon
13.01.2013, 16:46
mSelection 1.1 released
-Fixed bug when pressing ESC
-Added cancel button
-Added Dynamic per player lists:
-Fixed bug when pressing ESC
-Added cancel button
-Added Dynamic per player lists:
Код:
//dynamic per player lists ShowModelSelectionMenuEx(playerid, items_array[], item_amount, header_text[], extraid, Float:Xrot = 0.0, Float:Yrot = 0.0, Float:Zrot = 0.0, Float:mZoom = 1.0, dialogBGcolor = 0x4A5A6BBB, previewBGcolor = 0x88888899 , tdSelectionColor = 0xFFFF00AA) forward OnPlayerModelSelectionEx(playerid, response, extraid, modelid);
13.01.2013, 18:12
WTF! this is awesome!
How I can create "Weapon selection"?
How I can create "Weapon selection"?
13.01.2013, 19:56
13.01.2013, 22:26
Suggestion:
Perhaps adding an update function? So we don't have to recreate it :P
Oh and what about: tdSelectionModelIDColor, changing the background color for a specific modelid.
For example, let's say I want to have the background color of a certain modelid yellow or gold, I could refer that to a vip item
Perhaps adding an update function? So we don't have to recreate it :P
Oh and what about: tdSelectionModelIDColor, changing the background color for a specific modelid.
For example, let's say I want to have the background color of a certain modelid yellow or gold, I could refer that to a vip item
13.01.2013, 23:10
Quote:
Suggestion:
Perhaps adding an update function? So we don't have to recreate it :P |
I want to keep the amount of memory used by that include as small as possible, adding every customisation for the lists would use too much memory imo.
14.01.2013, 09:07
(
Last edited by RajatPawar; 14/01/2013 at 11:20 AM.
)
Question 1: Is there available, a NEGATIVE zoom? Because some object's previews are too big. To anti zoom them, like the baseball bat (336), I entered 336 0.0 0.0 0.0 0.0, and it gave me only section of the bat. Too big. Any loophole through this?
Question 2: Can we add custom string textdraws? Like, if my file's "planes.txt" and I add:
1286 0.0
1267
"Hello"
Would this work and show "hello"?
Question 2: Can we add custom string textdraws? Like, if my file's "planes.txt" and I add:
1286 0.0
1267
"Hello"
Would this work and show "hello"?
14.01.2013, 11:57
hmm. Yesterday the new version worked fine, but today it stucks again when you press ESC. I start thinkikg that the problem is somewhere in my server. I press esc the first time, the mouse pointer and the menu are on the screen, and when i press another time, pointer dissapears but the menu still is on the screen, and there is no way to close it The cancel button works prefect!
14.01.2013, 13:40
Quote:
Question 1: Is there available, a NEGATIVE zoom? Because some object's previews are too big. To anti zoom them, like the baseball bat (336), I entered 336 0.0 0.0 0.0 0.0, and it gave me only section of the bat. Too big. Any loophole through this?
Question 2: Can we add custom string textdraws? Like, if my file's "planes.txt" and I add: 1286 0.0 1267 "Hello" Would this work and show "hello"? |
Try it, it supports every zoom the default sa-mp function supports
2)
No not possible
Quote:
hmm. Yesterday the new version worked fine, but today it stucks again when you press ESC. I start thinkikg that the problem is somewhere in my server. I press esc the first time, the mouse pointer and the menu are on the screen, and when i press another time, pointer dissapears but the menu still is on the screen, and there is no way to close it The cancel button works prefect!
|
I have an idea how to fix that problem and hopefully it will be the last attempt to fix it.
14.01.2013, 14:31
well... Thanks. IF this won't work, i will just try to change my script
14.01.2013, 22:09
15.01.2013, 09:42
hmm. really? i don't see any changes. I think thats not problem in include, but something wrong with my script. Because when v1.1 was just released, it worked fine, but after some time this problem went back. And i tried to remove all ShowModelSelectionMenu from that callback, but ESC still doesnt hide the textdraw So, do you know,w aht can lead to this problem?
___________________________________
EDIT!!!!!!!!!!!!!!!!!!! IT works!!!!!!! I just deleted your example filterscript from server.cfg and now it works!!!!!
___________________________________
EDIT!!!!!!!!!!!!!!!!!!! IT works!!!!!!! I just deleted your example filterscript from server.cfg and now it works!!!!!
15.01.2013, 10:20
What the ID of the weapons ?
i do 38 (minigun) in the txt file and its show me skin .. :S
i do 38 (minigun) in the txt file and its show me skin .. :S
15.01.2013, 14:03
Quote:
What the ID of the weapons ?
i do 38 (minigun) in the txt file and its show me skin .. :S |
Look at thes page (object model column) https://sampwiki.blast.hk/wiki/Weapons
15.01.2013, 16:00
That was my suggestion, but you didn't answer it. Please, can you?
Now, with dynamic system, it will be more difficult, right?
Now, with dynamic system, it will be more difficult, right?
15.01.2013, 16:24
with 1.1 R2 ?
« Next Oldest | Next Newest »
Users browsing this thread: 3 Guest(s)