mirror of
https://github.com/iDisaster/GTAConnected.git
synced 2026-03-08 09:25:23 +00:00
55 lines
1.4 KiB
C
55 lines
1.4 KiB
C
/**
|
|
* @ MD EXTEND+
|
|
* @ Version MDv13 TRIDENT(Essentials Based)
|
|
* @ MADE BY - DEVILSDESIGN & IIV_NATHAN_VII & SHOCKixiXixiWAVE
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
void MC_Looped_Setup(void)
|
|
{
|
|
|
|
if(COMPARE_STRING(menu_item[item_highlighted].name,"~BLIP_52~ Teleport to saved location"))
|
|
{
|
|
int num = (menu_item[item_highlighted].num_val - 1);
|
|
if(save_x[num] != 0)
|
|
{
|
|
DRAW_SPHERE(save_x[num],save_y[num], save_z[num] - 1,2); //fine as 2 incase in car
|
|
}
|
|
}
|
|
|
|
//menu_item[1].num_val = (AutoSpectate ? 2 : 1);
|
|
/*
|
|
Spy_string[1] = "~w~Spectate Player / AutoSpectate ~COL_NET_4~OFF";
|
|
Spy_string[2] = "~w~Spectate Player / AutoSpectate ~COL_NET_3~ON";
|
|
*/
|
|
//if(COMPARE_STRING(menu_item[1].charval,
|
|
switch(menu_level)
|
|
{
|
|
case 1:
|
|
{
|
|
if(item_highlighted == 19) //delete distance setting
|
|
{
|
|
float x,y,z;
|
|
GET_CHAR_COORDINATES(pPlayer,&x,&y,&z);
|
|
DRAW_SPHERE(x,y,z - 3, (menu_item[item_highlighted].num_val * 2)); //yes x 2 is correct..
|
|
}
|
|
}
|
|
break;
|
|
case 5:
|
|
{
|
|
#ifdef Admin
|
|
if(!GetBit(MD_Misc_OptionsBitSet,MD_MISC_ADMIN_PRINTED_VEHICLE_SPAWN_FREEZE_WARNING))
|
|
{
|
|
if(last_selected[1] == 2 && last_selected[2] != 1 && last_selected[3] == 17 && last_selected[4] == 9)
|
|
{
|
|
Alert("~b~MD: ~s~Be wary here, you don't want them spawning into a freeze-car.",true);
|
|
SetBit(MD_Misc_OptionsBitSet,MD_MISC_ADMIN_PRINTED_VEHICLE_SPAWN_FREEZE_WARNING,true);
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
break;
|
|
}
|
|
|
|
}
|