Post: [release-fixed] Huds Elements 1.02
11-06-2013, 11:25 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hi everyone here is the fixed version of my huds elements for Ghosts 1.02, quote me when 1.03 will be out Smile

Pastebin: You must login or register to view this content.

Credits: xSonoro for the coding template
Bad Luck Brian (me :fa: ) for the huds

Usage:

Alright first, in your ps3 Connection make sure it looks like this:
    
PS3.Connect();
PS3.Attach();
Hud.Enable_Cacher(); //THIS IS IMPORTANT


Now to cache an huds elem you will use it like this:
    
Usage ICON: public static void StoreIcon(uint elemIndex, decimal client, int shader, int width, int height, float x, float y, uint align, float sort, int r, int g, int b, int a)

Usage TEXT: public static void StoreTextElem(uint elemIndex, int client, string Text, int font, float fontScale, int x, int y, uint align, float sort, int r, int g, int b, int a, int r1, int g1, int b1, int a1)

ICON: Hud.StoreIcon((uint)10, HostID, (int)1, (int)400, (int)1000, (int)340, (int)240, 0, 0, (int)98, (int)58, (int)218, (int)140);


TEXT: Hud.StoreTextElem((uint)42, 0, "This is a string", (int)3, (float)2, (int)340, (int)120, 0, 0, (int)255, (int)255, (int)255, (int)255, (int)100, (int)100, (int)100, (int)255);



Now to activate an index(show it):

TYPE 0 = invisible
TYPE 1 = TEXT
Type 4 = ICON

Exemple: ActivateIndex(10, 4);

this will activate the index 10 in the huds elements and show it as an ICON

ActivateIndex(11, 1);

this will activate the index 11 in the huds elements and show it as a TEXT

ActivateIndex(11, 0);
this will hide the index 11


Enjoy Smile :wub:
Last edited by Bad Luck Kevin ; 11-06-2013 at 01:08 PM.

The following 11 users say thank you to Bad Luck Kevin for this useful post:

{H} | Exception, Eddie Mac, Asian, FAKA_ELITE, Johnny_C, Mango_Knife, MegaMister, O-H, TeRmiiMoDz, worrorfight
11-06-2013, 05:53 PM #2
MegaMister
Former Mega Staff
Originally posted by Bad
Hi everyone here is the fixed version of my huds elements for Ghosts 1.02, quote me when 1.03 will be out Smile

Pastebin: You must login or register to view this content.

Credits: xSonoro for the coding template
Bad Luck Brian (me :fa: ) for the huds

Usage:

Alright first, in your ps3 Connection make sure it looks like this:
    
PS3.Connect();
PS3.Attach();
Hud.Enable_Cacher(); //THIS IS IMPORTANT


Now to cache an huds elem you will use it like this:
    
Usage ICON: public static void StoreIcon(uint elemIndex, decimal client, int shader, int width, int height, float x, float y, uint align, float sort, int r, int g, int b, int a)

Usage TEXT: public static void StoreTextElem(uint elemIndex, int client, string Text, int font, float fontScale, int x, int y, uint align, float sort, int r, int g, int b, int a, int r1, int g1, int b1, int a1)

ICON: Hud.StoreIcon((uint)10, HostID, (int)1, (int)400, (int)1000, (int)340, (int)240, 0, 0, (int)98, (int)58, (int)218, (int)140);


TEXT: Hud.StoreTextElem((uint)42, 0, "This is a string", (int)3, (float)2, (int)340, (int)120, 0, 0, (int)255, (int)255, (int)255, (int)255, (int)100, (int)100, (int)100, (int)255);



Now to activate an index(show it):

TYPE 0 = invisible
TYPE 1 = TEXT
Type 4 = ICON

Exemple: ActivateIndex(10, 4);

this will activate the index 10 in the huds elements and show it as an ICON

ActivateIndex(11, 1);

this will activate the index 11 in the huds elements and show it as a TEXT

ActivateIndex(11, 0);
this will hide the index 11


Enjoy Smile :wub:


Good release buddy! :wub:
11-06-2013, 06:04 PM #3
Originally posted by MegaMister View Post
Good release buddy! :wub:


Thanks :wub:
11-06-2013, 06:35 PM #4
Eddie Mac
At least I can fight
Nice job kevin Outie

The following 2 users say thank you to Eddie Mac for this useful post:

Bad Luck Kevin, xTc
11-06-2013, 07:18 PM #5
slim355
You talkin to me?
Didn't want to make a new thread.
This is somehow related.

You must login or register to view this content.
11-06-2013, 08:53 PM #6
Originally posted by eddie
Nice job kevin Outie


thanks ^^
11-08-2013, 02:27 AM #7
i use byte[] for settext instead of string, so i changed string to byte[] and it just says System.Byte[] on my screen
thanks for the help Happy
11-09-2013, 04:56 AM #8
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by Bad
Hi everyone here is the fixed version of my huds elements for Ghosts 1.02, quote me when 1.03 will be out Smile

Pastebin: You must login or register to view this content.

Credits: xSonoro for the coding template
Bad Luck Brian (me :fa: ) for the huds

Usage:

Alright first, in your ps3 Connection make sure it looks like this:
    
PS3.Connect();
PS3.Attach();
Hud.Enable_Cacher(); //THIS IS IMPORTANT


Now to cache an huds elem you will use it like this:
    
Usage ICON: public static void StoreIcon(uint elemIndex, decimal client, int shader, int width, int height, float x, float y, uint align, float sort, int r, int g, int b, int a)

Usage TEXT: public static void StoreTextElem(uint elemIndex, int client, string Text, int font, float fontScale, int x, int y, uint align, float sort, int r, int g, int b, int a, int r1, int g1, int b1, int a1)

ICON: Hud.StoreIcon((uint)10, HostID, (int)1, (int)400, (int)1000, (int)340, (int)240, 0, 0, (int)98, (int)58, (int)218, (int)140);


TEXT: Hud.StoreTextElem((uint)42, 0, "This is a string", (int)3, (float)2, (int)340, (int)120, 0, 0, (int)255, (int)255, (int)255, (int)255, (int)100, (int)100, (int)100, (int)255);



Now to activate an index(show it):

TYPE 0 = invisible
TYPE 1 = TEXT
Type 4 = ICON

Exemple: ActivateIndex(10, 4);

this will activate the index 10 in the huds elements and show it as an ICON

ActivateIndex(11, 1);

this will activate the index 11 in the huds elements and show it as a TEXT

ActivateIndex(11, 0);
this will hide the index 11


Enjoy Smile :wub:


1.03 is released, time to update the thread Smile
11-09-2013, 04:57 AM #9
seb5594
Proud Former Admin
Originally posted by D34TH View Post
1.03 is released, time to update the thread Smile


Just update the Hud Elements OffsetWinky Winky

0x00D56880 - G_HudElems
11-10-2013, 03:15 AM #10
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by seb5594 View Post
Just update the Hud Elements OffsetWinky Winky

0x00D56880 - G_HudElems


what about these: FIX_ELEM= 0x32E17, FPS = 0x359a58 ??

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo