0% found this document useful (0 votes)
8 views44 pages

Inventory 2

The document outlines a player inventory management system for a game, defining constants, data structures, and functions for managing player items. It includes functions for adding, removing, and displaying items, as well as checking inventory limits and item quantities. The inventory system supports a variety of items, each with specific attributes such as model, weight, and total quantity.

Uploaded by

7e90db027a
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views44 pages

Inventory 2

The document outlines a player inventory management system for a game, defining constants, data structures, and functions for managing player items. It includes functions for adding, removing, and displaying items, as well as checking inventory limits and item quantities. The inventory system supports a variety of items, each with specific attributes such as model, weight, and total quantity.

Uploaded by

7e90db027a
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 44

#define MAX_INVENTORY 20

new PlayerText:INVNAME[MAX_PLAYERS][6];
new PlayerText:INVINFO[MAX_PLAYERS][11];
new PlayerText:NAMETD[MAX_PLAYERS][MAX_INVENTORY];
new PlayerText:INDEXTD[MAX_PLAYERS][MAX_INVENTORY];
new PlayerText:MODELTD[MAX_PLAYERS][MAX_INVENTORY];
new PlayerText:AMOUNTTD[MAX_PLAYERS][MAX_INVENTORY];
new PlayerText:GARISBAWAH[MAX_PLAYERS][MAX_INVENTORY];
new PlayerText:NOTIFBOX[MAX_PLAYERS][5];

new BukaInven[MAX_PLAYERS];

enum inventoryData
{
invExists,
invItem[32 char],
invModel,
invAmount,
invTotalQuantity,
Float:invTotalWeight
};
new InventoryData[MAX_PLAYERS][MAX_INVENTORY][inventoryData];
enum e_InventoryItems
{
e_InventoryItem[32], //Nama item
e_InventoryModel, //Object item
e_InventoryTotal,
Float:e_InventoryWeight//Berat object
};

new const g_aInventoryItems[][e_InventoryItems] =


{
{"Uang", 1212, 1},
{"Hand_Phone", 18867, 3},
{"Jerigen", 1650, 2},
{"Bomb", 1654, 2},
{"Senjata", 362, 2},

("Kayu", 1463, 4),


("Papan", 19366, 4),

//mancing
{"Penyu", 1609, 3},
{"Blue_Fish", 1604, 3},
{"Nemo", 1600, 3},
{"Ikan_Makarel", 19630, 3},
{"Umpan", 19566, 3},

//makan dan minum


{"Air_Mineral", 2958, 1},
{"Nasi_Uduk", 2769, 3},
{"Starling", 1455, 3},
{"Chiken", 19847, 3},
{"Roti", 19883, 3},
{"Burger", 2703, 3},
{"Cappucino", 19835, 3},
{"Ktp", 1581, 1},
{"Kanabis", 800, 3},
{"Marijuana", 1578, 3},

//bahan jahit pakaian


{"Ciki", 19565, 2},
{"Wool", 2751, 2},
{"Pakaian", 2399, 2},
{"Kain", 11747, 2},

//pertanian
{"Padi", 2901, 3},
{"Tebu", 2901, 3},
{"Jagung", 2901, 3},
{"Cabai", 2901, 3},
{"Padi_Olahan", 19638, 3},
{"Sambal", 19636, 3},
{"Tepung", 19570, 3},
{"Bibit_Padi", 862, 2},
{"Bibit_Cabai", 862, 2},
{"Bibit_Jagung", 862, 2},
{"Bibit_Tebu", 862, 2},
{"Biji_Kopi", 18225, 1},
{"Gula", 19824, 2},
{"Ikan", 19630, 2},
{"Daging", 2804, 2},
{"Umpan", 19566, 2},
{"Phone", 18867, 3},
{"FirstAid", 11738, 2},

{"Jus", 1546, 1},


{"Susu", 19570, 2},
{"Susu_Olahan", 19569, 2},
{"Minyak", 2969, 3},
{"Essence", 3015, 1},
{"Nasgor", 2663, 1},
{"Jus", 1546, 1},
{"Sampah", 1265, 1},
("Batu", 905, 3),
("Jerigen", 1650, 3),
("Batu_Cucian", 2936, 2),
("Emas", 19941, 4),
("Besi", 1519, 4),
("Aluminium", 19809, 4),
("Component", 3096, 4),
{"Ayam", 16776, 2},
{"Paket_Ayam", 19566, 2},
{"Ayam_Potong", 2806, 2},
{"Susu_Mentah", 19570, 1},
("Perban", 11736, 4),
("Obat_Stress", 1241, 4),

{"Baking_Soda", 2821, 3},


{"Asam_Muriatic", 19573, 3},
{"Uang_Kotor", 1575, 3},
{"Seed", 859, 2},
{"Pot", 860, 3},
{"Ephedrine", 19473, 1},
{"Borax", 1579, 2},
{"Paket_Borax", 1579, 2},
{"Red_Cash", 1858, 2},
{"Materials", 2041, 2},
{"Vest", 1242, 2}

};
stock Inventory_Clear(playerid)
{
static
string[64];

for(new i = 0; i < MAX_INVENTORY; i++)


{
if (InventoryData[playerid][i][invExists])
{
InventoryData[playerid][i][invExists] = 0;
InventoryData[playerid][i][invModel] = 0;
InventoryData[playerid][i][invAmount] = 0;
}
}
return 1;
}

stock Inventory_GetItemID(playerid, item[])


{
for(new i = 0; i < MAX_INVENTORY; i++)
{
if (!InventoryData[playerid][i][invExists])
continue;

if (!strcmp(InventoryData[playerid][i][invItem], item)) return i;


}
return -1;
}

stock Inventory_GetFreeID(playerid)
{
if (Inventory_Items(playerid) >= 20)
return -1;

for(new i = 0; i < MAX_INVENTORY; i++)


{
if (!InventoryData[playerid][i][invExists])
return i;
}
return -1;
}

stock Inventory_Items(playerid)
{
new count;

for(new i = 0; i < MAX_INVENTORY; i++) if (InventoryData[playerid][i]


[invExists]) {
count++;
}
return count;
}
stock Inventory_Count(playerid, item[])
{
new itemid = Inventory_GetItemID(playerid, item);

if (itemid != -1)
return InventoryData[playerid][itemid][invAmount];

return 0;
}

stock PlayerHasItem(playerid, item[])


{
return (Inventory_GetItemID(playerid, item) != -1);
}

stock Inventory_Set(playerid, item[], model, amount, totalquantity)


{
new itemid = Inventory_GetItemID(playerid, item);

if (itemid == -1 && amount > 0)


Inventory_Addset(playerid, item, model, amount, totalquantity);

else if (amount > 0 && itemid != -1)


Inventory_SetQuantity(playerid, item, amount, totalquantity);

else if (amount < 1 && itemid != -1)


Inventory_Remove(playerid, item, -1);

return 1;
}

stock Inventory_SetQuantity(playerid, item[], quantity, totalquantity)


{
new
itemid = Inventory_GetItemID(playerid, item);

if (itemid != -1)
{
InventoryData[playerid][itemid][invAmount] = quantity;
InventoryData[playerid][itemid][invTotalQuantity] = totalquantity;
}
return 1;
}

stock Inventory_Remove(playerid, item[], quantity = 1)


{
new
itemid = Inventory_GetItemID(playerid, item);

if (itemid != -1)
{
for (new i = 0; i < sizeof(g_aInventoryItems); i ++) if (!
strcmp(g_aInventoryItems[i][e_InventoryItem], item, true))
{
new totalquantity = g_aInventoryItems[i][e_InventoryTotal];
new Float:needspace = g_aInventoryItems[i]
[e_InventoryWeight]*quantity;
if (InventoryData[playerid][itemid][invAmount] > 0 &&
InventoryData[playerid][itemid][invTotalQuantity] > 0)
{
InventoryData[playerid][itemid][invAmount] -= quantity;
InventoryData[playerid][itemid][invTotalQuantity] -=
totalquantity;
PlayerInfo[playerid][pInvWeight] -= needspace;
}
if (quantity == -1 || InventoryData[playerid][itemid]
[invTotalQuantity] < 1 || totalquantity == -1 || InventoryData[playerid][itemid]
[invAmount] < 1)
{
InventoryData[playerid][itemid][invExists] = false;
InventoryData[playerid][itemid][invModel] = 0;
InventoryData[playerid][itemid][invAmount] = 0;
InventoryData[playerid][itemid][invTotalQuantity] = 0;
}
else if (quantity != -1 && InventoryData[playerid][itemid]
[invAmount] > 0 && totalquantity != -1 && InventoryData[playerid][itemid]
[invTotalQuantity] > 0)
{
InventoryData[playerid][itemid][invAmount] = quantity;
InventoryData[playerid][itemid][invTotalQuantity] =
totalquantity;
}
}
return 1;
}
return 0;
}
stock Inventory_Addset(playerid, item[], model, amount = 1, totalquantity)
{
new itemid = Inventory_GetItemID(playerid, item);
if (itemid == -1)
{
itemid = Inventory_GetFreeID(playerid);
if (itemid != -1)
{
for (new i = 0; i < sizeof(g_aInventoryItems); i ++) if (!
strcmp(g_aInventoryItems[i][e_InventoryItem], item, true))
{
new Float:needspace = g_aInventoryItems[i]
[e_InventoryWeight]*totalquantity;
if(PlayerInfo[playerid][pInvWeight]+needspace > 850.0)
return SendClientMessage(playerid, -1, "Tas anda penuh");
InventoryData[playerid][itemid][invExists] = true;
InventoryData[playerid][itemid][invModel] = model;
InventoryData[playerid][itemid][invAmount] = amount;
InventoryData[playerid][itemid][invTotalQuantity] =
totalquantity;
PlayerInfo[playerid][pInvWeight] += needspace;

strpack(InventoryData[playerid][itemid][invItem], item, 32
char);
}
return itemid;
}
return -1;
}
else
{
InventoryData[playerid][itemid][invAmount] += amount;
InventoryData[playerid][itemid][invTotalQuantity] += totalquantity;
}
return itemid;
}

stock Inventory_Add(playerid, item[], model, quantity = 1)


{
new
itemid = Inventory_GetItemID(playerid, item);

if (itemid == -1)
{
itemid = Inventory_GetFreeID(playerid);

if (itemid != -1)
{
for (new i = 0; i < sizeof(g_aInventoryItems); i ++) if (!
strcmp(g_aInventoryItems[i][e_InventoryItem], item, true))
{
new needspace = g_aInventoryItems[i]
[e_InventoryWeight]*quantity;
if(PlayerInfo[playerid][pInvWeight]+needspace > 850.0)
return SendClientMessage(playerid, -1, "Tas anda penuh");
new totalquantity = g_aInventoryItems[i][e_InventoryTotal];
InventoryData[playerid][itemid][invExists] = true;
InventoryData[playerid][itemid][invModel] = model;
InventoryData[playerid][itemid][invAmount] = model;
InventoryData[playerid][itemid][invTotalQuantity] =
totalquantity;
PlayerInfo[playerid][pInvWeight] += needspace;
return itemid;
}
}
return -1;
}
return itemid;
}
stock Inventory_Close(playerid)
{
if(BukaInven[playerid] == 0)
return ShowInfo(playerid, "Kamu Belum Membuka Inventory!");

CancelSelectTextDraw(playerid);
pData[playerid][pSelectItem] = -1;
pData[playerid][pGiveAmount] = 0;
BukaInven[playerid] = 0;
for(new a = 0; a < 6; a++)
{
PlayerTextDrawHide(playerid, INVNAME[playerid][a]);
}
for(new a = 0; a < 11; a++)
{
PlayerTextDrawHide(playerid, INVINFO[playerid][a]);
}
PlayerTextDrawSetString(playerid, INVINFO[playerid][6], "Jumlah");
for(new i = 0; i < MAX_INVENTORY; i++)
{
PlayerTextDrawHide(playerid, NAMETD[playerid][i]);
PlayerTextDrawHide(playerid, INDEXTD[playerid][i]);
PlayerTextDrawColor(playerid, INDEXTD[playerid][i], 859394047);
PlayerTextDrawHide(playerid, MODELTD[playerid][i]);
PlayerTextDrawHide(playerid, AMOUNTTD[playerid][i]);
PlayerTextDrawHide(playerid, GARISBAWAH[playerid][i]);
}
return 1;
}

stock Inventory_Show(playerid)
{
new str[256], string[256], totalall, Float:quantitybar;
format(str,1000,"%s", GetName(playerid));
PlayerTextDrawSetString(playerid, INVNAME[playerid][3], str);
BarangMasuk(playerid);
BukaInven[playerid] = 1;
PlayerPlaySound(playerid, 1039, 0,0,0);
SelectTextDraw(playerid, COLOR_RED);
for(new a = 0; a < 6; a++)
{
PlayerTextDrawShow(playerid, INVNAME[playerid][a]);
}
for(new a = 0; a < 11; a++)
{
PlayerTextDrawShow(playerid, INVINFO[playerid][a]);
}
for(new i = 0; i < MAX_INVENTORY; i++)
{
PlayerTextDrawShow(playerid, INDEXTD[playerid][i]);
PlayerTextDrawShow(playerid, AMOUNTTD[playerid][i]);
totalall += InventoryData[playerid][i][invTotalQuantity];
format(str, sizeof(str), "%.1f/850.0", PlayerInfo[playerid]
[pInvWeight]);
PlayerTextDrawSetString(playerid, INVNAME[playerid][4], str);
quantitybar = PlayerInfo[playerid][pInvWeight] * 165/100;
PlayerTextDrawTextSize(playerid, INVNAME[playerid][2], quantitybar,
3.0);
PlayerTextDrawShow(playerid, INVNAME[playerid][2]);
if(InventoryData[playerid][i][invExists])
{
PlayerTextDrawShow(playerid, NAMETD[playerid][i]);
PlayerTextDrawShow(playerid, GARISBAWAH[playerid][i]);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][i],
InventoryData[playerid][i][invModel]);
//sesuakian dengan object item kalian
if(InventoryData[playerid][i][invModel] == 18867)
{
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][i],
-254.000000, 0.000000, 0.000000, 2.779998);
}
else if(InventoryData[playerid][i][invModel] == 16776)
{
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][i],
0.000000, 0.000000, -85.000000, 1.000000);
}
else if(InventoryData[playerid][i][invModel] == 1581)
{
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][i],
0.000000, 0.000000, -180.000000, 1.000000);
}
PlayerTextDrawShow(playerid, MODELTD[playerid][i]);
strunpack(string, InventoryData[playerid][i][invItem]);
format(str, sizeof(str), "%s", string);
PlayerTextDrawSetString(playerid, NAMETD[playerid][i], str);
format(str, sizeof(str), "%dx", InventoryData[playerid][i]
[invAmount]);
PlayerTextDrawSetString(playerid, AMOUNTTD[playerid][i], str);
}
else
{
PlayerTextDrawHide(playerid, AMOUNTTD[playerid][i]);
}
}
return 1;
}

epublic: OnPlayerGiveInvItem(playerid, userid, itemid, name[], value)


{
new str[500], string[500];
if(Inventory_Count(playerid, string) < pData[playerid][pGiveAmount])
return ShowInfo(playerid, "Barang Kamu Tidak Mencukupi!");

if(!strcmp(name, "Uang", true))


{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Uang", str, 1212, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Uang", str, 1212, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

GivePlayerMoneyEx(playerid, -value, "uang");


GivePlayerMoneyEx(userid, value, "uang");

OnPlayerUpdateAccountsPer(playerid, "pCash", PlayerInfo[playerid][pCash]);


OnPlayerUpdateAccountsPer(userid, "pCash", PlayerInfo[playerid][pCash]);
}
else if(!strcmp(name, "Component", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Component", str, 3096, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Component", str, 3096, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pComponent] -= value;
PlayerInfo[userid][pComponent] += value;

OnPlayerUpdateAccountsPer(playerid, "pComponent", PlayerInfo[playerid]


[pComponent]);
OnPlayerUpdateAccountsPer(userid, "pComponent", PlayerInfo[playerid]
[pComponent]);
}
else if(!strcmp(name, "Vest", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Vest", str, 1242, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Vest", str, 1242, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pVest] -= value;
PlayerInfo[userid][pVest] += value;

OnPlayerUpdateAccountsPer(playerid, "pVest", PlayerInfo[playerid][pVest]);


OnPlayerUpdateAccountsPer(userid, "pVest", PlayerInfo[playerid][pVest]);
}
else if(!strcmp(name, "Ayam", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Ayam", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Ayam", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pAyam] -= value;
PlayerInfo[userid][pAyam] += value;

OnPlayerUpdateAccountsPer(playerid, "pAyam", PlayerInfo[playerid][pAyam]);


OnPlayerUpdateAccountsPer(userid, "pAyam", PlayerInfo[playerid][pAyam]);
}
else if(!strcmp(name, "Susu", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Susu", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Susu", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pBeruang] -= value;
PlayerInfo[userid][pBeruang] += value;

OnPlayerUpdateAccountsPer(playerid, "pBeruang", PlayerInfo[playerid]


[pBeruang]);
OnPlayerUpdateAccountsPer(userid, "pBeruang", PlayerInfo[playerid]
[pBeruang]);
}
else if(!strcmp(name, "Emas", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Emas", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Emas", str, 2768, 2);
ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);
ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pEmas] -= value;
PlayerInfo[userid][pEmas] += value;

OnPlayerUpdateAccountsPer(playerid, "pEmas", PlayerInfo[playerid][pEmas]);


OnPlayerUpdateAccountsPer(userid, "pEmas", PlayerInfo[playerid][pEmas]);
}
else if(!strcmp(name, "Besi", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Besi", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Besi", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pIron] -= value;
PlayerInfo[userid][pIron] += value;

OnPlayerUpdateAccountsPer(playerid, "pIron", PlayerInfo[playerid][pIron]);


OnPlayerUpdateAccountsPer(userid, "pIron", PlayerInfo[playerid][pIron]);
}
else if(!strcmp(name, "Batu_Cucian", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Batu_Cucian", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Batu_Cucian", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pBatuCuci] -= value;
PlayerInfo[userid][pBatuCuci] += value;

OnPlayerUpdateAccountsPer(playerid, "pBatuCuci", PlayerInfo[playerid]


[pBatuCuci]);
OnPlayerUpdateAccountsPer(userid, "pBatuCuci", PlayerInfo[playerid]
[pBatuCuci]);
}
else if(!strcmp(name, "Batu", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Batu", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Batu", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pBatu] -= value;
PlayerInfo[userid][pBatu] += value;
OnPlayerUpdateAccountsPer(playerid, "pBatu", PlayerInfo[playerid][pBatu]);
OnPlayerUpdateAccountsPer(userid, "pBatu", PlayerInfo[playerid][pBatu]);
}
else if(!strcmp(name, "Penyu", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Penyu", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Penyu", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pPenyu] -= value;
PlayerInfo[userid][pPenyu] += value;

OnPlayerUpdateAccountsPer(playerid, "pPenyu", PlayerInfo[playerid]


[pPenyu]);
OnPlayerUpdateAccountsPer(userid, "pPenyu", PlayerInfo[playerid][pPenyu]);
}
else if(!strcmp(name, "Nemo", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Nemo", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Nemo", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pNemo] -= value;
PlayerInfo[userid][pNemo] += value;

OnPlayerUpdateAccountsPer(playerid, "pNemo", PlayerInfo[playerid][pNemo]);


OnPlayerUpdateAccountsPer(userid, "pNemo", PlayerInfo[playerid][pNemo]);
}
else if(!strcmp(name, "Ikan_Makarel", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Ikan_Makarel", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Ikan_Makarel", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pMakarel] -= value;
PlayerInfo[userid][pMakarel] += value;

OnPlayerUpdateAccountsPer(playerid, "pMakarel", PlayerInfo[playerid]


[pMakarel]);
OnPlayerUpdateAccountsPer(userid, "pMakarel", PlayerInfo[playerid]
[pMakarel]);
}
else if(!strcmp(name, "Bomb", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Bomb", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Bomb", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pC4] -= value;
PlayerInfo[userid][pC4] += value;

OnPlayerUpdateAccountsPer(playerid, "pC4", PlayerInfo[playerid][pC4]);


OnPlayerUpdateAccountsPer(userid, "pC4", PlayerInfo[playerid][pC4]);
}
else if(!strcmp(name, "Air_Mineral", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Air_Mineral", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Air_Mineral", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pMineral] -= value;
PlayerInfo[userid][pMineral] += value;

OnPlayerUpdateAccountsPer(playerid, "pMineral", PlayerInfo[playerid]


[pMineral]);
OnPlayerUpdateAccountsPer(userid, "pMineral", PlayerInfo[playerid]
[pMineral]);
}
else if(!strcmp(name, "Kayu", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Kayu", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Kayu", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pKayu] -= value;
PlayerInfo[userid][pKayu] += value;

OnPlayerUpdateAccountsPer(playerid, "pKayu", PlayerInfo[playerid][pKayu]);


OnPlayerUpdateAccountsPer(userid, "pKayu", PlayerInfo[playerid][pKayu]);
}
else if(!strcmp(name, "Papan", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Papan", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Papan", str, 2768, 2);
ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);
ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pPapan] -= value;
PlayerInfo[userid][pPapan] += value;

OnPlayerUpdateAccountsPer(playerid, "pPapan", PlayerInfo[playerid]


[pPapan]);
OnPlayerUpdateAccountsPer(userid, "pPapan", PlayerInfo[playerid][pPapan]);
}
else if(!strcmp(name, "Pakaian", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Pakaian", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Pakaian", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pPakaian] -= value;
PlayerInfo[userid][pPakaian] += value;

OnPlayerUpdateAccountsPer(playerid, "pPakaian", PlayerInfo[playerid]


[pPakaian]);
OnPlayerUpdateAccountsPer(userid, "pPakaian", PlayerInfo[playerid]
[pPakaian]);
}
else if(!strcmp(name, "Wool", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Wool", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Wool", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pWool] -= value;
PlayerInfo[userid][pWool] += value;

OnPlayerUpdateAccountsPer(playerid, "pWool", PlayerInfo[playerid][pWool]);


OnPlayerUpdateAccountsPer(userid, "pWool", PlayerInfo[playerid][pWool]);
}
else if(!strcmp(name, "Kain", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Kain", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Kain", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pKain] -= value;
PlayerInfo[userid][pKain] += value;
OnPlayerUpdateAccountsPer(playerid, "pKain", PlayerInfo[playerid][pKain]);
OnPlayerUpdateAccountsPer(userid, "pKain", PlayerInfo[playerid][pKain]);
}
else if(!strcmp(name, "Roti", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Roti", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Roti", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pRoti] -= value;
PlayerInfo[userid][pRoti] += value;

OnPlayerUpdateAccountsPer(playerid, "pRoti", PlayerInfo[playerid][pRoti]);


OnPlayerUpdateAccountsPer(userid, "pRoti", PlayerInfo[playerid][pRoti]);
}
else if(!strcmp(name, "Starling", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Starling", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Starling", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pStarling] -= value;
PlayerInfo[userid][pStarling] += value;

OnPlayerUpdateAccountsPer(playerid, "pStarling", PlayerInfo[playerid]


[pStarling]);
OnPlayerUpdateAccountsPer(userid, "pStarling", PlayerInfo[playerid]
[pStarling]);
}
else if(!strcmp(name, "Nasi", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Nasi", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Nasi", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pNasi] -= value;
PlayerInfo[userid][pNasi] += value;

OnPlayerUpdateAccountsPer(playerid, "pNasi", PlayerInfo[playerid][pNasi]);


OnPlayerUpdateAccountsPer(userid, "pNasi", PlayerInfo[playerid][pNasi]);
}
else if(!strcmp(name, "Burger", true))
{
format(str, sizeof(str), "Removed_%dx", pData[playerid][pGiveAmount]);
ShowItemBox(playerid, "Burger", str, 2768, 2);

format(str, sizeof(str), "Received_%dx", pData[playerid][pGiveAmount]);


ShowItemBox(userid, "Burger", str, 2768, 2);

ApplyAnimation(playerid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);


ApplyAnimation(userid, "DEALER", "shop_pay", 4.1, 0, 1, 1, 0, 0, 1);

PlayerInfo[playerid][pBurger] -= value;
PlayerInfo[userid][pBurger] += value;

OnPlayerUpdateAccountsPer(playerid, "pBurger", PlayerInfo[playerid]


[pBurger]);
OnPlayerUpdateAccountsPer(userid, "pBurger", PlayerInfo[playerid]
[pBurger]);
}
return Inventory_Close(playerid);
}

forward OnPlayerUseItem(playerid, itemid, name[]);


public OnPlayerUseItem(playerid, itemid, name[])
{
if(!strcmp(name, "Uang"))
{
ShowInfo(playerid, "Item Ini Tidak Dapat Digunakan!");
}
if(!strcmp(name, "Idcard"))
{
ShowInfo(playerid, "Item Ini Tidak Dapat Digunakan!");
}
else if(!strcmp(name, "Component"))
{
ShowInfo(playerid, "Item Ini Tidak Dapat Digunakan!");
}
else if(!strcmp(name, "Vest"))
{
PlayerInfo[playerid][pVest]--;

ApplyAnimation(playerid, "BD_FIRE", "wash_up", 4.0, 0, 0, 0, 0, 0, 1);


SetPlayerChatBubble(playerid,"menggunakan Vest",COLOR_PURPLE,30.0,10000);
SetPlayerArmour(playerid, 100);

ShowItemBox(playerid, "Vest", "Removed_1x", 1242, 2);


Inventory_Update(playerid);
Inventory_Close(playerid);
}
else if(!strcmp(name, "Hand_Phone"))
{
Inventory_Close(playerid);
callcmd::phone(playerid);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
SetPlayerAttachedObject(playerid, 3, 18867, 6, 0.0909, -0.0030, 0.0000,
80.4001, 159.8000, 18.0000, 1.0000, 1.0000, 1.0000, 0xFFFFFFFF, 0xFFFFFFFF);
ShowItemBox(playerid, "Handphone", "ADD_1x", 18867, 2);
Inventory_Update(playerid);
}
else if(!strcmp(name, "Nasi_Uduk"))
{
if(PlayerInfo[playerid][pSatiety] >= 35) return ShowInfo(playerid, "Anda
Telah Kenyang!");
new rand = 30;
PlayerInfo[playerid][pNasi] -=1;
PlayerInfo[playerid][pSatiety] += rand;
ShowItemBox(playerid, "NasiGoreng", "Used_1x", 19811, 3);
ShowSucces(playerid, "Anda Telah Makan Nasi Goreng");
Inventory_Update(playerid);
Inventory_Close(playerid);
}
else if(!strcmp(name, "Snack"))
{
if(PlayerInfo[playerid][pSatiety] >= 60) return ShowInfo(playerid, "Anda
Telah Kenyang!");
new rand = 30;
PlayerInfo[playerid][pSnack] -=1;
PlayerInfo[playerid][pSatiety] += rand;
ShowItemBox(playerid, "Snack", "Used_1x", 19562, 3);
ShowSucces(playerid, "Anda Telah Makan Snack");
Inventory_Update(playerid);
Inventory_Close(playerid);
}

else if(!strcmp(name, "Jus"))


{
if(PlayerInfo[playerid][pThirst] >= 65) return ShowInfo(playerid, "Anda
Telah Kembung!");
new rand = 30;
PlayerInfo[playerid][pJus] -=1;
PlayerInfo[playerid][pThirst] += rand;
ShowItemBox(playerid, "Jus", "Used_1x", 1546, 2);
ShowSucces(playerid, "Anda Telah Minum Air Jus");
Inventory_Update(playerid);
Inventory_Close(playerid);
}
else if(!strcmp(name, "Susu"))
{
if(PlayerInfo[playerid][pThirst] >= 30) return ShowInfo(playerid, "Anda
Telah Kembung!");
new rand = 30;
PlayerInfo[playerid][pBeruang] -=1;
PlayerInfo[playerid][pThirst] += rand;
ShowItemBox(playerid, "Susu", "Used_1x", 19569, 2);
ShowSucces(playerid, "Anda Telah Minum Susu Beruang");
Inventory_Update(playerid);
Inventory_Close(playerid);
}
else if(!strcmp(name, "Roti"))
{
if(PlayerInfo[playerid][pSatiety] >= 25) return ShowInfo(playerid, "Anda
Telah Kenyang!");
new rand = 30;
PlayerInfo[playerid][pRoti] -=1;
PlayerInfo[playerid][pSatiety] += rand;
ShowItemBox(playerid, "Roti", "Used_1x", 19579, 2);
ShowSucces(playerid, "Anda Telah Memakan Roti");
Inventory_Update(playerid);
Inventory_Close(playerid);
}
else if(!strcmp(name, "Ayam"))
{
if(PlayerInfo[playerid][pSatiety] >= 35) return ShowInfo(playerid, "Anda
Telah Kenyang!");
new rand = 30;
PlayerInfo[playerid][pAyam] -=1;
PlayerInfo[playerid][pSatiety] += rand;
ShowItemBox(playerid, "Ayam", "Used_1x", 2768, 2);
ShowSucces(playerid, "Anda Telah Memakan Ayam");
Inventory_Update(playerid);
Inventory_Close(playerid);
}
else if(!strcmp(name, "Starling"))
{
if(PlayerInfo[playerid][pThirst] >= 30) return ShowInfo(playerid, "Anda
Telah Kembung!");
new rand = 30;
PlayerInfo[playerid][pStarling] -=1;
PlayerInfo[playerid][pThirst] += rand;
ShowItemBox(playerid, "Starling", "Used_1x", 1455, 2);
ShowSucces(playerid, "Anda Telah Meminum Starling");
Inventory_Update(playerid);
Inventory_Close(playerid);
}
else if(!strcmp(name, "Burger"))
{
if(PlayerInfo[playerid][pSatiety] >= 35) return ShowInfo(playerid, "Anda
Telah Kenyang!");
new rand = 30;
PlayerInfo[playerid][pBurger] -=1;
PlayerInfo[playerid][pSatiety] += rand;
ShowItemBox(playerid, "Burger", "Used_1x", 2703, 2);
ShowSucces(playerid, "Anda Telah Memakan Burger");
Inventory_Update(playerid);
Inventory_Close(playerid);
}
else if(!strcmp(name, "Emas"))
{
ShowInfo(playerid, "Emas Ini Tidak Dapat Digunakan");
}
else if(!strcmp(name, "Component"))
{
ShowInfo(playerid, "Item Ini Tidak Dapat Digunakan");
}
else if(!strcmp(name, "Perban"))
{
callcmd::healme(playerid, "");
}
else if(!strcmp(name, "Bomb"))
{
callcmd::plantbomb(playerid);
}
return 1;
}

stock CreatePlayerInv(playerid)
{
INVNAME[playerid][0] = CreatePlayerTextDraw(playerid, 118.000, 96.000,
"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVNAME[playerid][0], 213.000, 253.000);
PlayerTextDrawAlignment(playerid, INVNAME[playerid][0], 1);
PlayerTextDrawColor(playerid, INVNAME[playerid][0], 690964479);
PlayerTextDrawSetShadow(playerid, INVNAME[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, INVNAME[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, INVNAME[playerid][0], 255);
PlayerTextDrawFont(playerid, INVNAME[playerid][0], 4);
PlayerTextDrawSetProportional(playerid, INVNAME[playerid][0], 1);

INVNAME[playerid][1] = CreatePlayerTextDraw(playerid, 125.000, 115.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVNAME[playerid][1], 199.000, 3.000);
PlayerTextDrawAlignment(playerid, INVNAME[playerid][1], 1);
PlayerTextDrawColor(playerid, INVNAME[playerid][1], 255);
PlayerTextDrawSetShadow(playerid, INVNAME[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, INVNAME[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, INVNAME[playerid][1], 255);
PlayerTextDrawFont(playerid, INVNAME[playerid][1], 4);
PlayerTextDrawSetProportional(playerid, INVNAME[playerid][1], 1);

INVNAME[playerid][2] = CreatePlayerTextDraw(playerid, 126.000, 115.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVNAME[playerid][2], 165.000, 3.000);
PlayerTextDrawAlignment(playerid, INVNAME[playerid][2], 1);
PlayerTextDrawColor(playerid, INVNAME[playerid][2], 12582911);
PlayerTextDrawSetShadow(playerid, INVNAME[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, INVNAME[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, INVNAME[playerid][2], 255);
PlayerTextDrawFont(playerid, INVNAME[playerid][2], 4);
PlayerTextDrawSetProportional(playerid, INVNAME[playerid][2], 1);

INVNAME[playerid][3] = CreatePlayerTextDraw(playerid, 126.000, 105.000,


"Atsuko Tadashiu");
PlayerTextDrawLetterSize(playerid, INVNAME[playerid][3], 0.140, 0.898);
PlayerTextDrawAlignment(playerid, INVNAME[playerid][3], 1);
PlayerTextDrawColor(playerid, INVNAME[playerid][3], -1);
PlayerTextDrawSetShadow(playerid, INVNAME[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, INVNAME[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, INVNAME[playerid][3], 150);
PlayerTextDrawFont(playerid, INVNAME[playerid][3], 1);
PlayerTextDrawSetProportional(playerid, INVNAME[playerid][3], 1);

INVNAME[playerid][4] = CreatePlayerTextDraw(playerid, 324.000, 105.000,


"100/300");
PlayerTextDrawLetterSize(playerid, INVNAME[playerid][4], 0.140, 0.699);
PlayerTextDrawAlignment(playerid, INVNAME[playerid][4], 3);
PlayerTextDrawColor(playerid, INVNAME[playerid][4], -1);
PlayerTextDrawSetShadow(playerid, INVNAME[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, INVNAME[playerid][4], 0);
PlayerTextDrawBackgroundColor(playerid, INVNAME[playerid][4], 150);
PlayerTextDrawFont(playerid, INVNAME[playerid][4], 1);
PlayerTextDrawSetProportional(playerid, INVNAME[playerid][4], 1);

INVINFO[playerid][0] = CreatePlayerTextDraw(playerid, 347.000, 168.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVINFO[playerid][0], 55.000, 117.000);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][0], 1);
PlayerTextDrawColor(playerid, INVINFO[playerid][0], 690964479);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][0], 255);
PlayerTextDrawFont(playerid, INVINFO[playerid][0], 4);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][0], 1);

INVINFO[playerid][1] = CreatePlayerTextDraw(playerid, 352.000, 174.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVINFO[playerid][1], 45.000, 18.000);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][1], 1);
PlayerTextDrawColor(playerid, INVINFO[playerid][1], 859394047);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][1], 255);
PlayerTextDrawFont(playerid, INVINFO[playerid][1], 4);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][1], 1);
PlayerTextDrawSetSelectable(playerid, INVINFO[playerid][1], 1);

INVINFO[playerid][2] = CreatePlayerTextDraw(playerid, 352.000, 195.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVINFO[playerid][2], 45.000, 18.000);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][2], 1);
PlayerTextDrawColor(playerid, INVINFO[playerid][2], 859394047);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][2], 255);
PlayerTextDrawFont(playerid, INVINFO[playerid][2], 4);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][2], 1);
PlayerTextDrawSetSelectable(playerid, INVINFO[playerid][2], 1);

INVINFO[playerid][3] = CreatePlayerTextDraw(playerid, 352.000, 216.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVINFO[playerid][3], 45.000, 18.000);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][3], 1);
PlayerTextDrawColor(playerid, INVINFO[playerid][3], 859394047);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][3], 255);
PlayerTextDrawFont(playerid, INVINFO[playerid][3], 4);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][3], 1);
PlayerTextDrawSetSelectable(playerid, INVINFO[playerid][3], 1);

INVINFO[playerid][4] = CreatePlayerTextDraw(playerid, 352.000, 237.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVINFO[playerid][4], 45.000, 18.000);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][4], 1);
PlayerTextDrawColor(playerid, INVINFO[playerid][4], 859394047);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][4], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][4], 255);
PlayerTextDrawFont(playerid, INVINFO[playerid][4], 4);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][4], 1);
PlayerTextDrawSetSelectable(playerid, INVINFO[playerid][4], 1);

INVINFO[playerid][5] = CreatePlayerTextDraw(playerid, 352.000, 258.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INVINFO[playerid][5], 45.000, 18.000);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][5], 1);
PlayerTextDrawColor(playerid, INVINFO[playerid][5], 859394047);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][5], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][5], 255);
PlayerTextDrawFont(playerid, INVINFO[playerid][5], 4);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][5], 1);
PlayerTextDrawSetSelectable(playerid, INVINFO[playerid][5], 1);

INVINFO[playerid][6] = CreatePlayerTextDraw(playerid, 375.000, 179.000,


"Jumlah");
PlayerTextDrawLetterSize(playerid, INVINFO[playerid][6], 0.150, 0.898);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][6], 2);
PlayerTextDrawColor(playerid, INVINFO[playerid][6], -1);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][6], 150);
PlayerTextDrawFont(playerid, INVINFO[playerid][6], 1);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][6], 1);

INVINFO[playerid][7] = CreatePlayerTextDraw(playerid, 375.000, 199.000,


"Gunakan");
PlayerTextDrawLetterSize(playerid, INVINFO[playerid][7], 0.150, 0.898);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][7], 2);
PlayerTextDrawColor(playerid, INVINFO[playerid][7], -1);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][7], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][7], 150);
PlayerTextDrawFont(playerid, INVINFO[playerid][7], 1);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][7], 1);

INVINFO[playerid][8] = CreatePlayerTextDraw(playerid, 375.000, 220.000,


"Berikan");
PlayerTextDrawLetterSize(playerid, INVINFO[playerid][8], 0.150, 0.898);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][8], 2);
PlayerTextDrawColor(playerid, INVINFO[playerid][8], -1);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][8], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][8], 150);
PlayerTextDrawFont(playerid, INVINFO[playerid][8], 1);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][8], 1);

INVINFO[playerid][9] = CreatePlayerTextDraw(playerid, 375.000, 242.000,


"Buang");
PlayerTextDrawLetterSize(playerid, INVINFO[playerid][9], 0.150, 0.898);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][9], 2);
PlayerTextDrawColor(playerid, INVINFO[playerid][9], -1);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][9], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][9], 150);
PlayerTextDrawFont(playerid, INVINFO[playerid][9], 1);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][9], 1);

INVINFO[playerid][10] = CreatePlayerTextDraw(playerid, 375.000, 263.000,


"Tutup");
PlayerTextDrawLetterSize(playerid, INVINFO[playerid][10], 0.150, 0.898);
PlayerTextDrawAlignment(playerid, INVINFO[playerid][10], 2);
PlayerTextDrawColor(playerid, INVINFO[playerid][10], -1);
PlayerTextDrawSetShadow(playerid, INVINFO[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, INVINFO[playerid][10], 0);
PlayerTextDrawBackgroundColor(playerid, INVINFO[playerid][10], 150);
PlayerTextDrawFont(playerid, INVINFO[playerid][10], 1);
PlayerTextDrawSetProportional(playerid, INVINFO[playerid][10], 1);

INDEXTD[playerid][0] = CreatePlayerTextDraw(playerid, 125.000, 120.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][0], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][0], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][0], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][0], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][0], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][0], 1);

INDEXTD[playerid][1] = CreatePlayerTextDraw(playerid, 165.000, 120.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][1], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][1], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][1], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][1], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][1], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][1], 1);

INDEXTD[playerid][2] = CreatePlayerTextDraw(playerid, 205.000, 120.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][2], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][2], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][2], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][2], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][2], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][2], 1);

INDEXTD[playerid][3] = CreatePlayerTextDraw(playerid, 245.000, 120.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][3], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][3], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][3], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][3], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][3], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][3], 1);

INDEXTD[playerid][4] = CreatePlayerTextDraw(playerid, 285.000, 120.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][4], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][4], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][4], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][4], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][4], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][4], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][4], 1);

INDEXTD[playerid][5] = CreatePlayerTextDraw(playerid, 125.000, 176.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][5], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][5], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][5], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][5], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][5], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][5], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][5], 1);

INDEXTD[playerid][6] = CreatePlayerTextDraw(playerid, 165.000, 176.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][6], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][6], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][6], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][6], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][6], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][6], 1);

INDEXTD[playerid][7] = CreatePlayerTextDraw(playerid, 205.000, 176.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][7], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][7], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][7], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][7], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][7], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][7], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][7], 1);

INDEXTD[playerid][8] = CreatePlayerTextDraw(playerid, 245.000, 176.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][8], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][8], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][8], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][8], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][8], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][8], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][8], 1);

INDEXTD[playerid][9] = CreatePlayerTextDraw(playerid, 285.000, 176.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][9], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][9], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][9], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][9], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][9], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][9], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][9], 1);

INDEXTD[playerid][10] = CreatePlayerTextDraw(playerid, 125.000, 232.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][10], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][10], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][10], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][10], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][10], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][10], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][10], 1);

INDEXTD[playerid][11] = CreatePlayerTextDraw(playerid, 165.000, 232.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][11], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][11], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][11], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][11], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][11], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][11], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][11], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][11], 1);

INDEXTD[playerid][12] = CreatePlayerTextDraw(playerid, 205.000, 232.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][12], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][12], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][12], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][12], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][12], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][12], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][12], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][12], 1);

INDEXTD[playerid][13] = CreatePlayerTextDraw(playerid, 245.000, 232.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][13], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][13], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][13], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][13], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][13], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][13], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][13], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][13], 1);

INDEXTD[playerid][14] = CreatePlayerTextDraw(playerid, 285.000, 232.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][14], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][14], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][14], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][14], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][14], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][14], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][14], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][14], 1);

INDEXTD[playerid][15] = CreatePlayerTextDraw(playerid, 125.000, 288.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][15], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][15], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][15], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][15], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][15], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][15], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][15], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][15], 1);
INDEXTD[playerid][16] = CreatePlayerTextDraw(playerid, 165.000, 288.000,
"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][16], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][16], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][16], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][16], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][16], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][16], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][16], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][16], 1);

INDEXTD[playerid][17] = CreatePlayerTextDraw(playerid, 205.000, 288.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][17], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][17], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][17], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][17], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][17], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][17], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][17], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][17], 1);

INDEXTD[playerid][18] = CreatePlayerTextDraw(playerid, 245.000, 288.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][18], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][18], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][18], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][18], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][18], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][18], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][18], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][18], 1);

INDEXTD[playerid][19] = CreatePlayerTextDraw(playerid, 285.000, 288.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, INDEXTD[playerid][19], 39.000, 51.000);
PlayerTextDrawAlignment(playerid, INDEXTD[playerid][19], 1);
PlayerTextDrawColor(playerid, INDEXTD[playerid][19], 859394047);
PlayerTextDrawSetShadow(playerid, INDEXTD[playerid][19], 0);
PlayerTextDrawSetOutline(playerid, INDEXTD[playerid][19], 0);
PlayerTextDrawBackgroundColor(playerid, INDEXTD[playerid][19], 255);
PlayerTextDrawFont(playerid, INDEXTD[playerid][19], 4);
PlayerTextDrawSetProportional(playerid, INDEXTD[playerid][19], 1);

MODELTD[playerid][0] = CreatePlayerTextDraw(playerid, 129.000, 129.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][0], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][0], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][0], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][0], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][0], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][0], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][0], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][0], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][0], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][0], 1);
MODELTD[playerid][1] = CreatePlayerTextDraw(playerid, 169.000, 129.000, "_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][1], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][1], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][1], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][1], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][1], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][1], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][1], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][1], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][1], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][1], 1);

MODELTD[playerid][2] = CreatePlayerTextDraw(playerid, 209.000, 129.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][2], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][2], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][2], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][2], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][2], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][2], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][2], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][2], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][2], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][2], 1);

MODELTD[playerid][3] = CreatePlayerTextDraw(playerid, 249.000, 129.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][3], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][3], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][3], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][3], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][3], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][3], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][3], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][3], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][3], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][3], 1);

MODELTD[playerid][4] = CreatePlayerTextDraw(playerid, 289.000, 129.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][4], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][4], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][4], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][4], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][4], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][4], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][4], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][4], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][4], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][4], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][4], 1);

MODELTD[playerid][5] = CreatePlayerTextDraw(playerid, 129.000, 185.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][5], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][5], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][5], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][5], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][5], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][5], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][5], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][5], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][5], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][5], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][5], 1);

MODELTD[playerid][6] = CreatePlayerTextDraw(playerid, 169.000, 185.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][6], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][6], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][6], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][6], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][6], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][6], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][6], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][6], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][6], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][6], 1);

MODELTD[playerid][7] = CreatePlayerTextDraw(playerid, 209.000, 185.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][7], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][7], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][7], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][7], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][7], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][7], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][7], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][7], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][7], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][7], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][7], 1);

MODELTD[playerid][8] = CreatePlayerTextDraw(playerid, 249.000, 185.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][8], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][8], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][8], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][8], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][8], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][8], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][8], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][8], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][8], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][8], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][8], 1);

MODELTD[playerid][9] = CreatePlayerTextDraw(playerid, 289.000, 185.000, "_");


PlayerTextDrawTextSize(playerid, MODELTD[playerid][9], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][9], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][9], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][9], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][9], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][9], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][9], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][9], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][9], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][9], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][9], 1);

MODELTD[playerid][10] = CreatePlayerTextDraw(playerid, 129.000, 241.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][10], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][10], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][10], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][10], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][10], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][10], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][10], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][10], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][10], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][10], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][10], 1);

MODELTD[playerid][11] = CreatePlayerTextDraw(playerid, 169.000, 241.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][11], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][11], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][11], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][11], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][11], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][11], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][11], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][11], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][11], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][11], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][11], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][11], 1);

MODELTD[playerid][12] = CreatePlayerTextDraw(playerid, 209.000, 241.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][12], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][12], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][12], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][12], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][12], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][12], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][12], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][12], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][12], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][12], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][12], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][12], 1);

MODELTD[playerid][13] = CreatePlayerTextDraw(playerid, 249.000, 241.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][13], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][13], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][13], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][13], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][13], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][13], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][13], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][13], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][13], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][13], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][13], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][13], 1);

MODELTD[playerid][14] = CreatePlayerTextDraw(playerid, 289.000, 241.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][14], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][14], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][14], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][14], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][14], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][14], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][14], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][14], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][14], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][14], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][14], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][14], 1);

MODELTD[playerid][15] = CreatePlayerTextDraw(playerid, 129.000, 297.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][15], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][15], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][15], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][15], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][15], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][15], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][15], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][15], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][15], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][15], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][15], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][15], 1);

MODELTD[playerid][16] = CreatePlayerTextDraw(playerid, 169.000, 297.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][16], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][16], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][16], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][16], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][16], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][16], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][16], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][16], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][16], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][16], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][16], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][16], 1);

MODELTD[playerid][17] = CreatePlayerTextDraw(playerid, 209.000, 297.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][17], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][17], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][17], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][17], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][17], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][17], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][17], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][17], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][17], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][17], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][17], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][17], 1);

MODELTD[playerid][18] = CreatePlayerTextDraw(playerid, 249.000, 297.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][18], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][18], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][18], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][18], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][18], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][18], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][18], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][18], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][18], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][18], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][18], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][18], 1);

MODELTD[playerid][19] = CreatePlayerTextDraw(playerid, 289.000, 297.000,


"_");
PlayerTextDrawTextSize(playerid, MODELTD[playerid][19], 30.000, 35.000);
PlayerTextDrawAlignment(playerid, MODELTD[playerid][19], 1);
PlayerTextDrawColor(playerid, MODELTD[playerid][19], -1);
PlayerTextDrawSetShadow(playerid, MODELTD[playerid][19], 0);
PlayerTextDrawSetOutline(playerid, MODELTD[playerid][19], 0);
PlayerTextDrawBackgroundColor(playerid, MODELTD[playerid][19], 0);
PlayerTextDrawFont(playerid, MODELTD[playerid][19], 5);
PlayerTextDrawSetProportional(playerid, MODELTD[playerid][19], 0);
PlayerTextDrawSetPreviewModel(playerid, MODELTD[playerid][19], 1212);
PlayerTextDrawSetPreviewRot(playerid, MODELTD[playerid][19], 0.000, 0.000,
0.000, 1.000);
PlayerTextDrawSetPreviewVehCol(playerid, MODELTD[playerid][19], 0, 0);
PlayerTextDrawSetSelectable(playerid, MODELTD[playerid][19], 1);
AMOUNTTD[playerid][0] = CreatePlayerTextDraw(playerid, 126.000, 162.000,
"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][0], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][0], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][0], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][0], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][0], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][0], 1);

AMOUNTTD[playerid][1] = CreatePlayerTextDraw(playerid, 166.000, 162.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][1], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][1], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][1], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][1], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][1], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][1], 1);

AMOUNTTD[playerid][2] = CreatePlayerTextDraw(playerid, 206.000, 162.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][2], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][2], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][2], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][2], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][2], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][2], 1);

AMOUNTTD[playerid][3] = CreatePlayerTextDraw(playerid, 246.000, 162.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][3], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][3], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][3], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][3], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][3], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][3], 1);

AMOUNTTD[playerid][4] = CreatePlayerTextDraw(playerid, 286.000, 162.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][4], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][4], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][4], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][4], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][4], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][4], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][4], 1);

AMOUNTTD[playerid][5] = CreatePlayerTextDraw(playerid, 126.000, 218.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][5], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][5], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][5], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][5], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][5], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][5], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][5], 1);

AMOUNTTD[playerid][6] = CreatePlayerTextDraw(playerid, 166.000, 218.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][6], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][6], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][6], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][6], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][6], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][6], 1);

AMOUNTTD[playerid][7] = CreatePlayerTextDraw(playerid, 206.000, 218.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][7], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][7], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][7], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][7], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][7], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][7], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][7], 1);

AMOUNTTD[playerid][8] = CreatePlayerTextDraw(playerid, 246.000, 218.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][8], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][8], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][8], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][8], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][8], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][8], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][8], 1);

AMOUNTTD[playerid][9] = CreatePlayerTextDraw(playerid, 286.000, 218.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][9], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][9], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][9], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][9], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][9], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][9], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][9], 1);

AMOUNTTD[playerid][10] = CreatePlayerTextDraw(playerid, 126.000, 274.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][10], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][10], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][10], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][10], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][10], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][10], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][10], 1);

AMOUNTTD[playerid][11] = CreatePlayerTextDraw(playerid, 166.000, 274.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][11], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][11], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][11], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][11], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][11], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][11], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][11], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][11], 1);

AMOUNTTD[playerid][12] = CreatePlayerTextDraw(playerid, 206.000, 274.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][12], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][12], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][12], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][12], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][12], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][12], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][12], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][12], 1);

AMOUNTTD[playerid][13] = CreatePlayerTextDraw(playerid, 246.000, 274.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][13], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][13], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][13], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][13], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][13], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][13], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][13], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][13], 1);

AMOUNTTD[playerid][14] = CreatePlayerTextDraw(playerid, 286.000, 274.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][14], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][14], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][14], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][14], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][14], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][14], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][14], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][14], 1);

AMOUNTTD[playerid][15] = CreatePlayerTextDraw(playerid, 126.000, 330.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][15], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][15], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][15], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][15], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][15], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][15], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][15], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][15], 1);
AMOUNTTD[playerid][16] = CreatePlayerTextDraw(playerid, 166.000, 330.000,
"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][16], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][16], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][16], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][16], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][16], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][16], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][16], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][16], 1);

AMOUNTTD[playerid][17] = CreatePlayerTextDraw(playerid, 206.000, 330.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][17], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][17], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][17], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][17], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][17], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][17], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][17], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][17], 1);

AMOUNTTD[playerid][18] = CreatePlayerTextDraw(playerid, 246.000, 330.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][18], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][18], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][18], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][18], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][18], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][18], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][18], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][18], 1);

AMOUNTTD[playerid][19] = CreatePlayerTextDraw(playerid, 286.000, 330.000,


"10000x");
PlayerTextDrawLetterSize(playerid, AMOUNTTD[playerid][19], 0.119, 0.598);
PlayerTextDrawAlignment(playerid, AMOUNTTD[playerid][19], 1);
PlayerTextDrawColor(playerid, AMOUNTTD[playerid][19], -1);
PlayerTextDrawSetShadow(playerid, AMOUNTTD[playerid][19], 0);
PlayerTextDrawSetOutline(playerid, AMOUNTTD[playerid][19], 0);
PlayerTextDrawBackgroundColor(playerid, AMOUNTTD[playerid][19], 150);
PlayerTextDrawFont(playerid, AMOUNTTD[playerid][19], 1);
PlayerTextDrawSetProportional(playerid, AMOUNTTD[playerid][19], 1);

NOTIFBOX[playerid][0] = CreatePlayerTextDraw(playerid, 327.000000,


385.500000, "ld_dual:white");
PlayerTextDrawFont(playerid, NOTIFBOX[playerid][0], 4);
PlayerTextDrawLetterSize(playerid, NOTIFBOX[playerid][0], 0.600000,
2.000000);
PlayerTextDrawTextSize(playerid, NOTIFBOX[playerid][0], 34.000000,
34.000000);
PlayerTextDrawSetOutline(playerid, NOTIFBOX[playerid][0], 1);
PlayerTextDrawSetShadow(playerid, NOTIFBOX[playerid][0], 0);
PlayerTextDrawAlignment(playerid, NOTIFBOX[playerid][0], 2);
PlayerTextDrawColor(playerid, NOTIFBOX[playerid][0], 1296911761);
PlayerTextDrawBackgroundColor(playerid, NOTIFBOX[playerid][0], 255);
PlayerTextDrawBoxColor(playerid, NOTIFBOX[playerid][0], 50);
PlayerTextDrawUseBox(playerid, NOTIFBOX[playerid][0], 1);
PlayerTextDrawSetProportional(playerid, NOTIFBOX[playerid][0], 1);
PlayerTextDrawSetSelectable(playerid, NOTIFBOX[playerid][0], 0);

NOTIFBOX[playerid][1] = CreatePlayerTextDraw(playerid, 327.000000,


421.000000, "ld_dual:white");
PlayerTextDrawFont(playerid, NOTIFBOX[playerid][1], 4);
PlayerTextDrawLetterSize(playerid, NOTIFBOX[playerid][1], 0.600000,
2.000000);
PlayerTextDrawTextSize(playerid, NOTIFBOX[playerid][1], 34.000000,
14.000000);
PlayerTextDrawSetOutline(playerid, NOTIFBOX[playerid][1], 1);
PlayerTextDrawSetShadow(playerid, NOTIFBOX[playerid][1], 0);
PlayerTextDrawAlignment(playerid, NOTIFBOX[playerid][1], 2);
PlayerTextDrawColor(playerid, NOTIFBOX[playerid][1], 16777215);
PlayerTextDrawBackgroundColor(playerid, NOTIFBOX[playerid][1], 255);
PlayerTextDrawBoxColor(playerid, NOTIFBOX[playerid][1], 50);
PlayerTextDrawUseBox(playerid, NOTIFBOX[playerid][1], 1);
PlayerTextDrawSetProportional(playerid, NOTIFBOX[playerid][1], 1);
PlayerTextDrawSetSelectable(playerid, NOTIFBOX[playerid][1], 0);

NOTIFBOX[playerid][2] = CreatePlayerTextDraw(playerid, 344.000000,


424.000000, "Nasi Goreng");
PlayerTextDrawFont(playerid, NOTIFBOX[playerid][2], 1);
PlayerTextDrawLetterSize(playerid, NOTIFBOX[playerid][2], 0.133331,
0.800000);
PlayerTextDrawTextSize(playerid, NOTIFBOX[playerid][2], 396.000000,
30.500000);
PlayerTextDrawSetOutline(playerid, NOTIFBOX[playerid][2], 0);
PlayerTextDrawSetShadow(playerid, NOTIFBOX[playerid][2], 0);
PlayerTextDrawAlignment(playerid, NOTIFBOX[playerid][2], 2);
PlayerTextDrawColor(playerid, NOTIFBOX[playerid][2], 255);
PlayerTextDrawBackgroundColor(playerid, NOTIFBOX[playerid][2], 255);
PlayerTextDrawBoxColor(playerid, NOTIFBOX[playerid][2], 50);
PlayerTextDrawUseBox(playerid, NOTIFBOX[playerid][2], 0);
PlayerTextDrawSetProportional(playerid, NOTIFBOX[playerid][2], 1);
PlayerTextDrawSetSelectable(playerid, NOTIFBOX[playerid][2], 0);

NOTIFBOX[playerid][3] = CreatePlayerTextDraw(playerid, 335.000000,


387.000000, "1X");
PlayerTextDrawFont(playerid, NOTIFBOX[playerid][3], 1);
PlayerTextDrawLetterSize(playerid, NOTIFBOX[playerid][3], 0.133331,
0.800000);
PlayerTextDrawTextSize(playerid, NOTIFBOX[playerid][3], 396.000000,
30.500000);
PlayerTextDrawSetOutline(playerid, NOTIFBOX[playerid][3], 0);
PlayerTextDrawSetShadow(playerid, NOTIFBOX[playerid][3], 0);
PlayerTextDrawAlignment(playerid, NOTIFBOX[playerid][3], 2);
PlayerTextDrawColor(playerid, NOTIFBOX[playerid][3], -1);
PlayerTextDrawBackgroundColor(playerid, NOTIFBOX[playerid][3], 255);
PlayerTextDrawBoxColor(playerid, NOTIFBOX[playerid][3], 50);
PlayerTextDrawUseBox(playerid, NOTIFBOX[playerid][3], 0);
PlayerTextDrawSetProportional(playerid, NOTIFBOX[playerid][3], 1);
PlayerTextDrawSetSelectable(playerid, NOTIFBOX[playerid][3], 0);

NOTIFBOX[playerid][4] = CreatePlayerTextDraw(playerid, 327.000000,


381.000000, "Preview_Model");
PlayerTextDrawFont(playerid, NOTIFBOX[playerid][4], 5);
PlayerTextDrawLetterSize(playerid, NOTIFBOX[playerid][4], 0.600000,
2.000000);
PlayerTextDrawTextSize(playerid, NOTIFBOX[playerid][4], 35.000000,
38.500000);
PlayerTextDrawSetOutline(playerid, NOTIFBOX[playerid][4], 0);
PlayerTextDrawSetShadow(playerid, NOTIFBOX[playerid][4], 0);
PlayerTextDrawAlignment(playerid, NOTIFBOX[playerid][4], 1);
PlayerTextDrawColor(playerid, NOTIFBOX[playerid][4], -1);
PlayerTextDrawBackgroundColor(playerid, NOTIFBOX[playerid][4], 0);
PlayerTextDrawBoxColor(playerid, NOTIFBOX[playerid][4], 255);
PlayerTextDrawUseBox(playerid, NOTIFBOX[playerid][4], 0);
PlayerTextDrawSetProportional(playerid, NOTIFBOX[playerid][4], 1);
PlayerTextDrawSetSelectable(playerid, NOTIFBOX[playerid][4], 0);
PlayerTextDrawSetPreviewModel(playerid, NOTIFBOX[playerid][4], 1212);
PlayerTextDrawSetPreviewRot(playerid, NOTIFBOX[playerid][4], -36.000000,
0.000000, -20.000000, 1.000000);
PlayerTextDrawSetPreviewVehCol(playerid, NOTIFBOX[playerid][4], 1, 1);

NAMETD[playerid][0] = CreatePlayerTextDraw(playerid, 128.000, 121.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][0], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][0], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][0], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][0], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][0], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][0], 1);

NAMETD[playerid][1] = CreatePlayerTextDraw(playerid, 168.000, 121.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][1], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][1], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][1], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][1], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][1], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][1], 1);

NAMETD[playerid][2] = CreatePlayerTextDraw(playerid, 208.000, 121.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][2], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][2], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][2], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][2], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][2], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][2], 1);

NAMETD[playerid][3] = CreatePlayerTextDraw(playerid, 248.000, 121.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][3], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][3], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][3], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][3], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][3], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][3], 1);
NAMETD[playerid][4] = CreatePlayerTextDraw(playerid, 287.000, 121.000,
"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][4], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][4], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][4], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][4], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][4], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][4], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][4], 1);

NAMETD[playerid][5] = CreatePlayerTextDraw(playerid, 128.000, 176.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][5], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][5], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][5], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][5], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][5], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][5], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][5], 1);

NAMETD[playerid][6] = CreatePlayerTextDraw(playerid, 168.000, 176.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][6], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][6], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][6], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][6], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][6], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][6], 1);

NAMETD[playerid][7] = CreatePlayerTextDraw(playerid, 208.000, 176.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][7], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][7], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][7], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][7], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][7], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][7], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][7], 1);

NAMETD[playerid][8] = CreatePlayerTextDraw(playerid, 248.000, 176.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][8], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][8], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][8], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][8], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][8], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][8], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][8], 1);

NAMETD[playerid][9] = CreatePlayerTextDraw(playerid, 287.000, 176.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][9], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][9], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][9], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][9], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][9], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][9], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][9], 1);

NAMETD[playerid][10] = CreatePlayerTextDraw(playerid, 128.000, 232.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][10], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][10], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][10], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][10], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][10], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][10], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][10], 1);

NAMETD[playerid][11] = CreatePlayerTextDraw(playerid, 168.000, 232.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][11], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][11], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][11], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][11], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][11], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][11], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][11], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][11], 1);

NAMETD[playerid][12] = CreatePlayerTextDraw(playerid, 208.000, 232.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][12], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][12], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][12], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][12], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][12], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][12], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][12], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][12], 1);

NAMETD[playerid][13] = CreatePlayerTextDraw(playerid, 248.000, 232.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][13], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][13], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][13], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][13], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][13], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][13], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][13], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][13], 1);

NAMETD[playerid][14] = CreatePlayerTextDraw(playerid, 287.000, 232.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][14], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][14], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][14], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][14], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][14], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][14], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][14], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][14], 1);

NAMETD[playerid][15] = CreatePlayerTextDraw(playerid, 128.000, 287.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][15], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][15], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][15], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][15], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][15], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][15], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][15], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][15], 1);

NAMETD[playerid][16] = CreatePlayerTextDraw(playerid, 168.000, 287.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][16], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][16], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][16], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][16], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][16], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][16], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][16], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][16], 1);

NAMETD[playerid][17] = CreatePlayerTextDraw(playerid, 208.000, 287.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][17], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][17], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][17], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][17], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][17], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][17], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][17], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][17], 1);

NAMETD[playerid][18] = CreatePlayerTextDraw(playerid, 248.000, 287.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][18], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][18], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][18], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][18], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][18], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][18], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][18], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][18], 1);

NAMETD[playerid][19] = CreatePlayerTextDraw(playerid, 287.000, 287.000,


"Uang");
PlayerTextDrawLetterSize(playerid, NAMETD[playerid][19], 0.128, 0.699);
PlayerTextDrawAlignment(playerid, NAMETD[playerid][19], 1);
PlayerTextDrawColor(playerid, NAMETD[playerid][19], -1);
PlayerTextDrawSetShadow(playerid, NAMETD[playerid][19], 0);
PlayerTextDrawSetOutline(playerid, NAMETD[playerid][19], 0);
PlayerTextDrawBackgroundColor(playerid, NAMETD[playerid][19], 150);
PlayerTextDrawFont(playerid, NAMETD[playerid][19], 1);
PlayerTextDrawSetProportional(playerid, NAMETD[playerid][19], 1);

GARISBAWAH[playerid][0] = CreatePlayerTextDraw(playerid, 125.000, 170.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][0], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][0], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][0], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][0], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][0], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][0], 1);

GARISBAWAH[playerid][1] = CreatePlayerTextDraw(playerid, 165.000, 170.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][1], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][1], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][1], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][1], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][1], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][1], 1);

GARISBAWAH[playerid][2] = CreatePlayerTextDraw(playerid, 205.000, 170.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][2], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][2], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][2], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][2], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][2], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][2], 1);

GARISBAWAH[playerid][3] = CreatePlayerTextDraw(playerid, 245.000, 170.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][3], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][3], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][3], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][3], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][3], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][3], 1);

GARISBAWAH[playerid][4] = CreatePlayerTextDraw(playerid, 286.000, 170.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][4], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][4], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][4], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][4], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][4], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][4], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][4], 1);

GARISBAWAH[playerid][5] = CreatePlayerTextDraw(playerid, 125.000, 226.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][5], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][5], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][5], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][5], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][5], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][5], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][5], 1);

GARISBAWAH[playerid][6] = CreatePlayerTextDraw(playerid, 165.000, 226.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][6], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][6], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][6], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][6], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][6], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][6], 1);

GARISBAWAH[playerid][7] = CreatePlayerTextDraw(playerid, 205.000, 226.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][7], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][7], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][7], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][7], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][7], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][7], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][7], 1);

GARISBAWAH[playerid][8] = CreatePlayerTextDraw(playerid, 245.000, 226.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][8], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][8], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][8], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][8], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][8], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][8], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][8], 1);

GARISBAWAH[playerid][9] = CreatePlayerTextDraw(playerid, 286.000, 226.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][9], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][9], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][9], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][9], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][9], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][9], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][9], 1);

GARISBAWAH[playerid][10] = CreatePlayerTextDraw(playerid, 125.000, 282.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][10], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][10], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][10], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][10], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][10], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][10], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][10], 1);

GARISBAWAH[playerid][11] = CreatePlayerTextDraw(playerid, 165.000, 282.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][11], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][11], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][11], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][11], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][11], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][11], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][11], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][11], 1);

GARISBAWAH[playerid][12] = CreatePlayerTextDraw(playerid, 205.000, 282.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][12], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][12], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][12], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][12], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][12], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][12], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][12], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][12], 1);

GARISBAWAH[playerid][13] = CreatePlayerTextDraw(playerid, 245.000, 282.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][13], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][13], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][13], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][13], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][13], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][13], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][13], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][13], 1);

GARISBAWAH[playerid][14] = CreatePlayerTextDraw(playerid, 286.000, 282.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][14], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][14], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][14], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][14], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][14], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][14], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][14], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][14], 1);

GARISBAWAH[playerid][15] = CreatePlayerTextDraw(playerid, 125.000, 338.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][15], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][15], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][15], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][15], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][15], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][15], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][15], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][15], 1);

GARISBAWAH[playerid][16] = CreatePlayerTextDraw(playerid, 165.000, 338.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][16], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][16], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][16], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][16], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][16], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][16], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][16], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][16], 1);

GARISBAWAH[playerid][17] = CreatePlayerTextDraw(playerid, 205.000, 338.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][17], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][17], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][17], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][17], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][17], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][17], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][17], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][17], 1);

GARISBAWAH[playerid][18] = CreatePlayerTextDraw(playerid, 245.000, 338.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][18], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][18], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][18], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][18], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][18], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][18], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][18], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][18], 1);

GARISBAWAH[playerid][19] = CreatePlayerTextDraw(playerid, 286.000, 338.000,


"LD_SPAC:white");
PlayerTextDrawTextSize(playerid, GARISBAWAH[playerid][19], 39.000, 3.000);
PlayerTextDrawAlignment(playerid, GARISBAWAH[playerid][19], 1);
PlayerTextDrawColor(playerid, GARISBAWAH[playerid][19], 12582911);
PlayerTextDrawSetShadow(playerid, GARISBAWAH[playerid][19], 0);
PlayerTextDrawSetOutline(playerid, GARISBAWAH[playerid][19], 0);
PlayerTextDrawBackgroundColor(playerid, GARISBAWAH[playerid][19], 255);
PlayerTextDrawFont(playerid, GARISBAWAH[playerid][19], 4);
PlayerTextDrawSetProportional(playerid, GARISBAWAH[playerid][19], 1);
return 1;
}
stock BarangMasuk(playerid)
{
Inventory_Set(playerid, "Uang", 1212, pData[playerid][pCash], 1);
Inventory_Set(playerid, "Idcard", 1581, pData[playerid][pKtp], 3);
Inventory_Set(playerid, "Hand_Phone", 18867, PlayerInfo[playerid][pProducts]
[0], 2);
Inventory_Set(playerid, "Jus", 1546, pData[playerid][pJus], 4);
Inventory_Set(playerid, "Susu", 19569, pData[playerid][pBeruang], 4);
Inventory_Set(playerid, "Snack", 19562, pData[playerid][pSnack], 4);
Inventory_Set(playerid, "Roti", 19579, pData[playerid][pRoti], 4);
Inventory_Set(playerid, "Component", 3096, pData[playerid][pComponent],
5);
Inventory_Set(playerid, "Vest", 1242, pData[playerid][pVest], 9);
Inventory_Set(playerid, "Ikan_Makarel", 19630, pData[playerid][pMakarel], 1);
Inventory_Set(playerid, "Nemo", 1600, pData[playerid][pNemo], 1);
Inventory_Set(playerid, "Emas", 19941, pData[playerid][pEmas], 1);
Inventory_Set(playerid, "Batu_Cucian", 2936, pData[playerid]
[pBatuCuci], 1);
Inventory_Set(playerid, "Kayu", 1463, pData[playerid][pKayu], 1);
Inventory_Set(playerid, "Papan", 19366, pData[playerid][pPapan], 1);
Inventory_Set(playerid, "Wool", 2751, pData[playerid][pWool], 1);
Inventory_Set(playerid, "Kain", 11747, pData[playerid][pKain], 1);
Inventory_Set(playerid, "Besi", 1519, pData[playerid][pIron], 1);
Inventory_Set(playerid, "Umpan", 19566, pData[playerid][pUmpan], 1);
Inventory_Set(playerid, "Penyu", 1609, pData[playerid][pPenyu], 1);
Inventory_Set(playerid, "Perban", 11736, pData[playerid][pHeals], 1);
Inventory_Set(playerid, "Bomb", 1654, pData[playerid][pC4], 1);
Inventory_Set(playerid, "Borax", 1579, pData[playerid][pBorax], 1);
Inventory_Set(playerid, "Paket_Borax", 1579, pData[playerid]
[pPaketBorax], 1);
Inventory_Set(playerid, "Ayam", 16776, pData[playerid][pAyam], 1);
Inventory_Set(playerid, "Ayam_Potong", 2806, pData[playerid]
[pAyamPotong], 1);
Inventory_Set(playerid, "Starling", 1455, pData[playerid][pStarling],
1);
Inventory_Set(playerid, "Burger", 2703, pData[playerid][pBurger], 1);
Inventory_Set(playerid, "Nasi_Uduk", 2769, pData[playerid][pNasi], 1);
Inventory_Set(playerid, "Air_Mineral", 2958, pData[playerid][pMineral],
1);
Inventory_Set(playerid, "Aluminium", 19809, pData[playerid]
[pAluminium], 1);
Inventory_Set(playerid, "Pakaian", 2399, pData[playerid][pPakaian], 1);
Inventory_Update(playerid);
}

stock Inventory_Update(playerid)
{
new str[256], string[256], totalall, quantitybar;
for(new i = 0; i < MAX_INVENTORY; i++)
{
totalall += InventoryData[playerid][i][invTotalQuantity];
format(str, sizeof(str), "%.1f/850.0", float(totalall));
PlayerTextDrawSetString(playerid, INVNAME[playerid][4], str);
quantitybar = totalall * 199/850;
PlayerTextDrawTextSize(playerid, INVNAME[playerid][2], quantitybar,
13.0);
if(InventoryData[playerid][i][invExists])
{
//sesuakian dengan object item kalian
strunpack(string, InventoryData[playerid][i][invItem]);
format(str, sizeof(str), "%s", string);
PlayerTextDrawSetString(playerid, NAMETD[playerid][i], str);
format(str, sizeof(str), "%d", InventoryData[playerid][i]
[invAmount]);
PlayerTextDrawSetString(playerid, AMOUNTTD[playerid][i], str);
}
else
{
PlayerTextDrawHide(playerid, AMOUNTTD[playerid][i]);
PlayerTextDrawHide(playerid, MODELTD[playerid][i]);
PlayerTextDrawHide(playerid, NAMETD[playerid][i]);
}
}
}
stock MenuStore_SelectRow(playerid, row)
{
pData[playerid][pSelectItem] = row;
PlayerTextDrawHide(playerid,INDEXTD[playerid][row]);
PlayerTextDrawColor(playerid, INDEXTD[playerid][row], -7232257);
PlayerTextDrawShow(playerid,INDEXTD[playerid][row]);
}

stock MenuStore_UnselectRow(playerid)
{
if(pData[playerid][pSelectItem] != -1)
{
new row = pData[playerid][pSelectItem];
PlayerTextDrawHide(playerid,INDEXTD[playerid][row]);
PlayerTextDrawColor(playerid, INDEXTD[playerid][row], 859394047);
PlayerTextDrawShow(playerid,INDEXTD[playerid][row]);
}

pData[playerid][pSelectItem] = -1;
}

You might also like