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-10-2013, 12:41 PM #11
Gendjisan
A.k.a. Bushigan
Originally posted by D34TH View Post
what about these: FIX_ELEM= 0x32E17, FPS = 0x359a58 ??


0x0035A258 - FPS
0x00032F10 - G_LocalizedStringIndex

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo