ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 1546

PC UNKNOWNMENU PLAYER INFO

by Joalson - 08-02-2019 - 05:27 PM
#1


Code:
char FTStringOut[64];
char *FloatToString(float number)
{
    sprintf(FTStringOut, "%.4f", number);
    return FTStringOut;
}

char ITStringOut[32];
char *IntToString(int number)
{
    sprintf(ITStringOut, "%i", number);
    return ITStringOut;
}

static char* _0x95C4B5AD(char* p0) { return invoke<char*>(0x95C4B5AD, p0); } // 0x95C4B5AD



Code:
char* getStreetNameAtCoord(Vector3 coords)
{
Hash streethash;
Hash croadhash;
PATHFIND::GET_STREET_NAME_AT_COORD(coords.x, coords.y, coords.z, &streethash, &croadhash);
char* name = UI::GET_STREET_NAME_FROM_HASH_KEY(streethash);
return name;
}

void StatTextRightJustify(char *text, float x, float y, float scalex, float scaley, int r, int b, int g, int a)
{
UI::SET_TEXT_FONT(0);
UI::SET_TEXT_SCALE(scalex, scaley);
UI::SET_TEXT_COLOUR(r, g, b, a);
UI::SET_TEXT_RIGHT_JUSTIFY(true);
UI::SET_TEXT_WRAP(0.0f, (0.108f + (GUI::MenuX)));
UI::SET_TEXT_DROPSHADOW(0, 0, 0, 0, 0);
UI::SET_TEXT_EDGE(0, 0, 0, 0, 0);
UI::BEGIN_TEXT_COMMAND_DISPLAY_TEXT("STRING");
UI::ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);
UI::END_TEXT_COMMAND_DISPLAY_TEXT(x, y);
}

void StatAmountText(char *text, float x, float y, float scalex, float scaley, int r, int b, int g, int a, bool left)
{
if (!left)
{
UI::SET_TEXT_FONT(0);
UI::SET_TEXT_SCALE(scalex, scaley);
UI::SET_TEXT_COLOUR(r, g, b, a);
UI::SET_TEXT_RIGHT_JUSTIFY(true);
UI::SET_TEXT_WRAP(0.0f, ((GUI::MenuX)+0.230f) + 0.108f);
UI::SET_TEXT_DROPSHADOW(0, 0, 0, 0, 0);
UI::SET_TEXT_EDGE(0, 0, 0, 0, 0);
UI::BEGIN_TEXT_COMMAND_DISPLAY_TEXT("STRING");
UI::ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);
UI::END_TEXT_COMMAND_DISPLAY_TEXT(x, y);
}
else
{
UI::SET_TEXT_FONT(0);
UI::SET_TEXT_SCALE(scalex, scaley);
UI::SET_TEXT_COLOUR(r, g, b, a);
UI::SET_TEXT_RIGHT_JUSTIFY(true);
UI::SET_TEXT_WRAP(0.0f, ((GUI::MenuX)-0.230f) + 0.108f);
UI::SET_TEXT_DROPSHADOW(0, 0, 0, 0, 0);
UI::SET_TEXT_EDGE(0, 0, 0, 0, 0);
UI::BEGIN_TEXT_COMMAND_DISPLAY_TEXT("STRING");
UI::ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);
UI::END_TEXT_COMMAND_DISPLAY_TEXT(x, y);
}
}

void StatText(char *text, int font, float x, float y, float scalex, float scaley, int r, int g, int b, int a, bool center, bool outline)
{
UI::SET_TEXT_FONT(font);
UI::SET_TEXT_SCALE(scalex, scaley);
UI::SET_TEXT_COLOUR(r, g, b, a);
UI::SET_TEXT_WRAP(0.0f, 1.0f);
UI::SET_TEXT_CENTRE(center);
UI::SET_TEXT_DROPSHADOW(0, 0, 0, 0, 0);
if (outline)
UI::SET_TEXT_OUTLINE();
UI::BEGIN_TEXT_COMMAND_DISPLAY_TEXT("STRING");
UI::ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);
UI::END_TEXT_COMMAND_DISPLAY_TEXT(x, y);
UI::SET_TEXT_DROPSHADOW(0, 0, 0, 0, 0);
}

void PlayerNameText(char * text, int font, float x, float y, float scalex, float scaley, int r, int b, int g, int a, bool center)
{
UI::SET_TEXT_FONT(font);
UI::SET_TEXT_SCALE(scalex, scaley);
UI::SET_TEXT_COLOUR(r, g, b, a);
UI::SET_TEXT_WRAP(0.0f, 1.0f);
UI::SET_TEXT_CENTRE(center);
UI::SET_TEXT_DROPSHADOW(0, 0, 0, 0, 0);
//UI::SET_TEXT_OUTLINE();
UI::BEGIN_TEXT_COMMAND_DISPLAY_TEXT("STRING");
UI::ADD_TEXT_COMPONENT_SUBSTRING_PLAYER_NAME(text);
UI::END_TEXT_COMMAND_DISPLAY_TEXT(x, y);
}

void PlayerInfoRects(bool left, Player player)
{
Ped ped = PLAYER::GET_PLAYER_PED_SCRIPT_INDEX(player);
RequestControlOfEnt(ped);
char * vehX = UI::_0x95C4B5AD(VEHICLE::GET_DISPLAY_NAME_FROM_VEHICLE_MODEL(ENTITY::GET_ENTITY_MODEL(PED::GET_VEHICLE_PED_IS_IN(ped, 0))));
Vector3 myCoords = ENTITY::GET_ENTITY_COORDS(Myself, 1);
Vector3 coords = ENTITY::GET_ENTITY_COORDS(ped, 1);
float distance = Get3DDistance(coords, myCoords);
bool pfriend = isplayerfriend(ped);
char* friendstatus;
bool alive = !PED::IS_PED_DEAD_OR_DYING(ped, 1);
char* aliveStatus;
DWORD model = ENTITY::GET_ENTITY_MODEL(ped);
bool phost = (NETWORK::NETWORK_GET_HOST_OF_SCRIPT("Freemode", -1, 0) == player);
bool modder = PLAYER::GET_PLAYER_INVINCIBLE(player);
bool modder2 = (model != 0x705E61F2) && (model != 0x9C9EFFD8);
bool rockstardev = NETWORK::NETWORK_PLAYER_IS_ROCKSTAR_DEV(player);
char* hoststatus;
char* modstatus;
char* modstatus2;
char* rockstarstatus;
if (pfriend) friendstatus = "~g~Yes"; else friendstatus = "~r~No";
if (phost) hoststatus = "~g~Yes"; else hoststatus = "~r~No";
if (modder) modstatus = "~g~Yes"; else modstatus = "~r~No";
if (modder2) modstatus2 = "~g~Yes"; else modstatus2 = "~r~No";
if (rockstardev) rockstarstatus = "~g~Yes"; else rockstarstatus = "~r~No";
if (alive) aliveStatus = "~g~Yes"; else aliveStatus = "~r~No";
if (distance > 1000) {
distance = round((distance / 1000) * 100) / 100;
}
else {
distance = round(distance * 1000) / 100;
}
if (GAMEPLAY::ARE_STRINGS_EQUAL(vehX, "NULL"))
{
vehX = "On Foot";
}

if (!left)
{
//Vehicle
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (1 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(vehX, ((GUI::MenuX)+0.230f) + 0.108f, (1 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Vehicle", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (1 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Speed
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (2 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(FloatToString(ENTITY::GET_ENTITY_SPEED(ped) * 2.236936f), ((GUI::MenuX)+0.230f) + 0.108f, (2 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Speed (MPH)", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (2 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Wanted Level
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (3 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(PLAYER::GET_PLAYER_WANTED_LEVEL(player)), ((GUI::MenuX) + 0.230f) + 0.108f, (3 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Wanted Level", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (3 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Health
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (4 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(IntToString(ENTITY::GET_ENTITY_HEALTH(ped)), ((GUI::MenuX)+0.230f) + 0.108f, (4 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Health", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (4 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Armour
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (5 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(PED::GET_PED_ARMOUR(ped)), ((GUI::MenuX)+0.230f) + 0.108f, (5 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Armour", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (5 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Street
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (6 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(getStreetNameAtCoord(ENTITY::GET_ENTITY_COORDS(ped, 0)), ((GUI::MenuX)+0.230f) + 0.108f, (6 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Street", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (6 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Zone
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (7 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(UI::_GET_LABEL_TEXT(ZONE::GET_NAME_OF_ZONE(coords.x, coords.y, coords.z)), ((GUI::MenuX) + 0.230f) + 0.108f, (7 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Zone", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (7 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Alive
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (8 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(aliveStatus, ((GUI::MenuX) + 0.230f) + 0.108f, (8 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Alive", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (8 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Cash
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (9 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(globalHandle(1589747).At((int)(player), 790).At(211).At(3).As<int>()), ((GUI::MenuX) + 0.230f) + 0.108f, (9 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Cash", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (9 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Rank
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (10 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(IntToString(globalHandle(1589747).At((int)(player), 790).At(211).At(6).As<int>()), ((GUI::MenuX) + 0.230f) + 0.108f, (10 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Rank", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (10 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Distance
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (11 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(FloatToString(distance), ((GUI::MenuX) + 0.230f) + 0.108f, (11 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Distance", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (11 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Host
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (12 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(hoststatus, ((GUI::MenuX) + 0.230f) + 0.108f, (12 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Host", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (12 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Friend
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (13 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(friendstatus, ((GUI::MenuX) + 0.230f) + 0.108f, (13 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Friend", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (13 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Rockstar DEV
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (14 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(rockstarstatus, ((GUI::MenuX) + 0.230f) + 0.108f, (14 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Rockstar DEV", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (14 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Godmode Hack
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (15 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(modstatus, ((GUI::MenuX) + 0.230f) + 0.108f, (15 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Godmode Hack", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (15 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Model Changer Hack
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (16 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(modstatus2, ((GUI::MenuX) + 0.230f) + 0.108f, (16 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Model Changer Hack", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (16 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//X Coord
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (17 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(FloatToString(coords.x), ((GUI::MenuX) + 0.230f) + 0.108f, (17 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("X Coord", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (17 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Y Coord
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (18 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(FloatToString(coords.y), ((GUI::MenuX) + 0.230f) + 0.108f, (18 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Y Coord", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (18 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Z Coord
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (19 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(FloatToString(coords.z), ((GUI::MenuX) + 0.230f) + 0.108f, (19 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Z Coord", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (19 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Kills
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (20 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(globalHandle(1589747).At((int)(player), 790).At(211).At(28).As<int>()), ((GUI::MenuX) + 0.230f) + 0.108f, (20 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Kills", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (20 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Deaths
GRAPHICS::DRAW_RECT(GUI::MenuX + 0.230f, (21 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(globalHandle(1589747).At((int)(player), 790).At(211).At(29).As<int>()), ((GUI::MenuX) + 0.230f) + 0.108f, (21 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false);
StatText("Deaths", 4, (-0.108f + (GUI::MenuX)) + 0.230f, (21 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
}
else
{
//Vehicle
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (1 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(vehX, ((GUI::MenuX)-0.230f) - 0.108f, (1 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Vehicle", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (1 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Speed
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (2 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(FloatToString(ENTITY::GET_ENTITY_SPEED(ped) * 2.236936f), ((GUI::MenuX)-0.230f) + 0.108f, (2 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Speed (MPH)", 4, ((GUI::MenuX)-0.230f) - 0.108f, (2 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Wanted Level
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (3 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(PLAYER::GET_PLAYER_WANTED_LEVEL(player)), ((GUI::MenuX) - 0.230f) + 0.108f, (3 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Wanted Level", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (3 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Health
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (4 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(IntToString(ENTITY::GET_ENTITY_HEALTH(ped)), ((GUI::MenuX)-0.230f) + 0.108f, (4 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Health", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (4 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Armour
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (5 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(PED::GET_PED_ARMOUR(ped)), ((GUI::MenuX)-0.230f) + 0.108f, (5 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Armour", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (5 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Street
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (6 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(getStreetNameAtCoord(ENTITY::GET_ENTITY_COORDS(ped, 0)), ((GUI::MenuX)-0.230f) + 0.108f, (6 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Street", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (6 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Zone
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (7 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(UI::_GET_LABEL_TEXT(ZONE::GET_NAME_OF_ZONE(coords.x, coords.y, coords.z)), ((GUI::MenuX) - 0.230f) + 0.108f, (7 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Zone", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (7 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Alive
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (8 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(aliveStatus, ((GUI::MenuX) - 0.230f) + 0.108f, (8 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Alive", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (8 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Cash
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (9 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(globalHandle(1589747).At((int)(player), 790).At(211).At(3).As<int>()), ((GUI::MenuX) - 0.230f) + 0.108f, (9 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Cash", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (9 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Rank
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (10 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(IntToString(globalHandle(1589747).At((int)(player), 790).At(211).At(6).As<int>()), ((GUI::MenuX) - 0.230f) + 0.108f, (10 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Rank", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (10 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Distance
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (11 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(FloatToString(distance), ((GUI::MenuX) - 0.230f) + 0.108f, (11 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Distance", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (11 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Host
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (12 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(hoststatus, ((GUI::MenuX) - 0.230f) - 0.108f, (12 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Host", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (12 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Friend
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (13 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(friendstatus, ((GUI::MenuX) - 0.230f) - 0.108f, (13 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Friend", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (13 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Rockstar DEV
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (14 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(rockstarstatus, ((GUI::MenuX) - 0.230f) - 0.108f, (14 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Rockstar DEV", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (14 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Godmode Hack
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (15 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(modstatus, ((GUI::MenuX) - 0.230f) - 0.108f, (15 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Godmode Hack", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (15 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Model Changer Hack
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (16 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(modstatus2, ((GUI::MenuX) - 0.230f) - 0.108f, (16 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Model Changer Hack", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (16 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//X Coord
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (17 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(FloatToString(coords.x), ((GUI::MenuX) - 0.230f) - 0.108f, (17 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("X Coord", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (17 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Y Coord
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (18 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(FloatToString(coords.y), ((GUI::MenuX) - 0.230f) - 0.108f, (18 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Y Coord", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (18 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Z Coord
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (19 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(FloatToString(coords.z), ((GUI::MenuX) - 0.230f) - 0.108f, (19 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Z Coord", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (19 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Kills
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (20 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 160);
StatAmountText(IntToString(globalHandle(1589747).At((int)(player), 790).At(211).At(28).As<int>()), ((GUI::MenuX) - 0.230f) + 0.108f, (20 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Kills", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (20 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
//Deaths
GRAPHICS::DRAW_RECT(GUI::MenuX - 0.230f, (21 * 0.035f) + 0.1470f, 0.225f, 0.035, 10, 10, 10, 190);
StatAmountText(IntToString(globalHandle(1589747).At((int)(player), 790).At(211).At(29).As<int>()), ((GUI::MenuX) - 0.230f) + 0.108f, (21 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, true);
StatText("Deaths", 4, (-0.108f + (GUI::MenuX)) - 0.230f, (21 * 0.035f) + 0.1320f, 0.35f, 0.35f, 255, 0, 0, 255, false, false);
}
}

void PlayerInfoLoop(Player player)
{
float Gradient = 0.05;
if (!GAMEPLAY::ARE_STRINGS_EQUAL("Empty", PLAYER::GET_PLAYER_NAME(player)))
{
if (GUI::MenuX < 0.6f)
{
GUI::Texture("Textures", "mp_main_gradient", (GUI::MenuX + Gradient) + 0.230f, 0.12f, 0.225f, 0.09f, 90.0f, 255, 255, 255, 255);
PlayerNameText(PLAYER::GET_PLAYER_NAME(player), 4, GUI::MenuX + 0.230f, 0.090f, 0.20, 0.861, 255, 0, 0, 255, true);
PlayerInfoRects(false, player);
}
else
{
GUI::Texture("mpentry", "mp_main_gradient", (GUI::MenuX + Gradient) - 0.230f, 0.12f, 0.225f, 0.09f, 90.0f, 255, 255, 255, 255);
PlayerNameText(PLAYER::GET_PLAYER_NAME(player), 4, GUI::MenuX - 0.230f, 0.090f, 0.20, 0.861, 255, 0, 0, 255, true);
PlayerInfoRects(true, player);
}
}
}


Enjoy!
Reply
#2
Ewwwwwwwww badd
Reply

Users browsing: 1 Guest(s)