SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 09/09/2017, 03:15 PM   #71
Skream
Banned
 
Join Date: Apr 2012
Posts: 234
Reputation: 64
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

Why don't you use PRESSED to check keys?
Skream is offline   Reply With Quote
Old 09/09/2017, 03:43 PM   #72
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,806
Reputation: 831
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

Quote:
Originally Posted by Skream View Post
Why don't you use PRESSED to check keys?
I use bit masking for multiple key check.
__________________

My GitHub:

Gammix is offline   Reply With Quote
Old 14/09/2017, 07:19 PM   #73
Deadpoop
Big Clucker
 
Deadpoop's Avatar
 
Join Date: Jul 2016
Posts: 124
Reputation: 5
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

good job
__________________
RELEASES:
































Deadpoop is online now   Reply With Quote
Old 17/09/2017, 05:59 PM   #74
Tort
Little Clucker
 
Join Date: Sep 2017
Posts: 4
Reputation: 4
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

i like the design good job
Tort is offline   Reply With Quote
Old 27/05/2018, 04:39 PM   #75
dani18
Big Clucker
 
dani18's Avatar
 
Join Date: Dec 2017
Posts: 115
Reputation: 14
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

Nicely @Gammix, i like the idea that they can implement things from other games to the gta sa.
__________________
RIP X
dani18 is offline   Reply With Quote
Old 15/06/2018, 01:17 PM   #76
Locky_
High-roller
 
Locky_'s Avatar
 
Join Date: Jul 2012
Posts: 1,589
Reputation: 321
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

Leaves the size of the .amx quite large. Will there be any updates to contain this (or even using the memory plugin)?
__________________


Locky_ is offline   Reply With Quote
Old 18/06/2018, 09:04 PM   #77
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,806
Reputation: 831
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

Quote:
Originally Posted by Locky_ View Post
Leaves the size of the .amx quite large. Will there be any updates to contain this (or even using the memory plugin)?
These two are responsible for pre-allocation of array.
PHP Code:
#define MENU_MAX_LISTITEMS \
    
24

#define MENU_MAX_LISTITEM_SIZE \
    
128 
I don't have time to update this library, maybe sometime soon.
__________________

My GitHub:

Gammix is offline   Reply With Quote
Old 22/08/2018, 07:47 PM   #78
MajesticPTR
Little Clucker
 
Join Date: Jan 2016
Posts: 14
Reputation: 0
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

How added outline to caption?
MajesticPTR is offline   Reply With Quote
Old 22/08/2018, 07:58 PM   #79
Gammix
High-roller
 
Gammix's Avatar
 
Join Date: Jan 2015
Location: Canada
Posts: 1,806
Reputation: 831
Default Re: GMenus Include (stylish GTA V themed* interaction menus!)

Quote:
Originally Posted by MajesticPTR View Post
How added outline to caption?
You'll have to modify the textdraw code inside the include.

Its very easy, just change this textdraw code (copy this and replace to the lines: 183 - 192):
PHP Code:
menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]] = CreatePlayerTextDraw(playerid,16.000000151.000000caption);
    
PlayerTextDrawBackgroundColor(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]], 255);
    
PlayerTextDrawFont(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]], 1);
    
PlayerTextDrawLetterSize(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]], 0.3999982.299998);
    
PlayerTextDrawColor(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]], captionTextColor);
    
PlayerTextDrawSetOutline(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]], 1);
    
PlayerTextDrawSetProportional(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]], 1);
    
PlayerTextDrawSetShadow(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]], 0);
    
PlayerTextDrawSetSelectable(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]], 0);
    
PlayerTextDrawShow(playerid,menuPlayerTextDraws[playerid][menuPlayerTextDrawsCount[playerid]++]); 
__________________

My GitHub:

Gammix 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
[FilterScript] Stylish login screen. CharlieSanchez Filterscripts 45 18/10/2017 06:22 AM
Interaction with objects Laurentziu Scripting Help 12 12/03/2015 09:29 AM
[FilterScript] ::: Sleek & Stylish Digital Speedometer ::: iPLEOMAX Filterscripts 70 28/10/2012 05:09 AM
[Map] New stylish map Vegetathebest Maps 2 14/04/2012 12:27 PM
The interaction between AMX and DLL webcode421F Plugin Development 8 13/10/2011 10:02 PM


All times are GMT. The time now is 10:20 AM.


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