Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- new PlayerText:Inventori0[MAX_PLAYERS];
- new PlayerText:Inventori1[MAX_PLAYERS];
- new PlayerText:Inventori2[MAX_PLAYERS];
- new PlayerText:Inventori3[MAX_PLAYERS];
- new PlayerText:Inventori4[MAX_PLAYERS];
- new PlayerText:Inventori5[MAX_PLAYERS];
- new PlayerText:Inventori6[MAX_PLAYERS];
- new PlayerText:Inventori7[MAX_PLAYERS];
- new PlayerText:Inventori8[MAX_PLAYERS];
- new PlayerText:Inventori9[MAX_PLAYERS];
- new PlayerText:Inventori10[MAX_PLAYERS];
- new PlayerText:Inventori11[MAX_PLAYERS];
- new PlayerText:Inventori12[MAX_PLAYERS];
- new PlayerText:Inventori13[MAX_PLAYERS];
- new PlayerText:Inventori14[MAX_PLAYERS];
- new PlayerText:Inventori15[MAX_PLAYERS];
- new PlayerText:Inventori16[MAX_PLAYERS];
- new PlayerText:Inventori17[MAX_PLAYERS];
- new PlayerText:Inventori18[MAX_PLAYERS];
- new PlayerText:Inventori19[MAX_PLAYERS];
- new PlayerText:Inventori20[MAX_PLAYERS];
- new PlayerText:Inventori21[MAX_PLAYERS];
- new PlayerText:Inventori22[MAX_PLAYERS];
- new PlayerText:Inventori23[MAX_PLAYERS];
- new PlayerText:Inventori24[MAX_PLAYERS];
- new PlayerText:Inventori25[MAX_PLAYERS];
- new PlayerText:Inventori26[MAX_PLAYERS];
- new PlayerText:Inventori27[MAX_PLAYERS];
- new PlayerText:Inventori28[MAX_PLAYERS];
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Inventar by Gireada");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- main()
- {
- print("\n----------------------------------");
- print(" Inventar by Gireada");
- print("----------------------------------\n");
- }
- CMD:inventori(playerid, params[])
- {
- vehicles[0] = 0;
- vehicles[1] = 0;
- vehicles[2] = 0;
- new nume[MAX_PLAYER_NAME];
- GetPlayerName(playerid, nume, sizeof(nume));
- new i=0;
- for(new v=buyablecars; v<MAX_VEHICLES; v++)
- {
- if(i==maxpersvehi)
- {break;}
- if(IsValidVehicle(v))
- {
- if(strcmp(VehInfo[v][Propietar], nume, true) == 0)
- {
- if(vehicles[i] == 0)
- {
- vehicles[i] = v;i++;
- }
- }
- }
- }
- for (new i = arma2[playerid]; i < 13; i++)
- {
- GetPlayerWeaponData(playerid, i, weapons2[playerid][i][0], weapons2[playerid][i][1]);
- }
- arma2[playerid] = 3;
- if(vehicles[0] != 0)
- {
- PlayerTextDrawSetPreviewModel(playerid, Inventori22[playerid], vehicles[0]);
- PlayerTextDrawShow(playerid, Inventori22[playerid]);
- }
- if(vehicles[1] != 0)
- {
- PlayerTextDrawSetPreviewModel(playerid, Inventori23[playerid], vehicles[1]);
- PlayerTextDrawShow(playerid, Inventori23[playerid]);
- }
- if(vehicles[2] != 0)
- {
- PlayerTextDrawSetPreviewModel(playerid, Inventori24[playerid], vehicles[2]);
- PlayerTextDrawShow(playerid, Inventori24[playerid]);
- }
- new Float:Viata, Float:Armura;
- GetPlayerHealth(playerid,Viata);
- GetPlayerArmour(playerid,Armura);
- new string[256];
- PlayerTextDrawSetPreviewModel(playerid, Inventori6[playerid], GetPlayerSkin(playerid));
- format(string, sizeof(string), "%s",nume);
- PlayerTextDrawSetString(playerid, Inventori5[playerid], string); // Nume
- format(string, sizeof(string), "Varsta: %d",PlayerInfo[playerid][Varsta]);
- PlayerTextDrawSetString(playerid, Inventori11[playerid], string); // Varsta
- format(string, sizeof(string), "Oras: %s",PlayerInfo[playerid][Oras]);
- PlayerTextDrawSetString(playerid, Inventori12[playerid], string); // Oras
- format(string, sizeof(string), "Numar: %d",PlayerInfo[playerid][Numar]);
- PlayerTextDrawSetString(playerid, Inventori13[playerid], string); // Numar
- format(string, sizeof(string), "Viata: %.0f%",Viata);
- PlayerTextDrawSetString(playerid, Inventori14[playerid], string); // Viata
- format(string, sizeof(string), "Armura: %.0f%",Armura);
- PlayerTextDrawSetString(playerid, Inventori15[playerid], string); // Armura
- format(string, sizeof(string), "Vehicule: %d",PlayerInfo[playerid][Vehicule]);
- PlayerTextDrawSetString(playerid, Inventori16[playerid], string); // Vehicule
- format(string, sizeof(string), "Cautat: %d",PlayerInfo[playerid][Wanted]);
- PlayerTextDrawSetString(playerid, Inventori17[playerid], string); // Cautat
- PlayerTextDrawShow(playerid, Inventori0[playerid]);
- PlayerTextDrawShow(playerid, Inventori1[playerid]);
- PlayerTextDrawShow(playerid, Inventori2[playerid]);
- PlayerTextDrawShow(playerid, Inventori3[playerid]);
- PlayerTextDrawShow(playerid, Inventori4[playerid]);
- PlayerTextDrawShow(playerid, Inventori5[playerid]);
- PlayerTextDrawShow(playerid, Inventori6[playerid]);
- PlayerTextDrawShow(playerid, Inventori7[playerid]);
- PlayerTextDrawShow(playerid, Inventori8[playerid]);
- PlayerTextDrawShow(playerid, Inventori9[playerid]);
- PlayerTextDrawShow(playerid, Inventori10[playerid]);
- PlayerTextDrawShow(playerid, Inventori11[playerid]);
- PlayerTextDrawShow(playerid, Inventori12[playerid]);
- PlayerTextDrawShow(playerid, Inventori13[playerid]);
- PlayerTextDrawShow(playerid, Inventori14[playerid]);
- PlayerTextDrawShow(playerid, Inventori15[playerid]);
- PlayerTextDrawShow(playerid, Inventori16[playerid]);
- PlayerTextDrawShow(playerid, Inventori17[playerid]);
- PlayerTextDrawShow(playerid, Inventori18[playerid]);
- PlayerTextDrawShow(playerid, Inventori19[playerid]);
- PlayerTextDrawShow(playerid, Inventori20[playerid]);
- PlayerTextDrawShow(playerid, Inventori21[playerid]);
- PlayerTextDrawShow(playerid, Inventori22[playerid]);
- PlayerTextDrawShow(playerid, Inventori23[playerid]);
- PlayerTextDrawShow(playerid, Inventori24[playerid]);
- PlayerTextDrawShow(playerid, Inventori25[playerid]);
- PlayerTextDrawShow(playerid, Inventori26[playerid]);
- PlayerTextDrawShow(playerid, Inventori27[playerid]);
- PlayerTextDrawShow(playerid, Inventori28[playerid]);
- PlayerTextDrawSetPreviewModel(playerid, Inventori6[playerid], GetPlayerSkin(playerid));
- format(string, sizeof(string), "%s",nume);
- PlayerTextDrawSetString(playerid, Inventori5[playerid], string); // Nume
- format(string, sizeof(string), "Varsta: %d",PlayerInfo[playerid][Varsta]);
- PlayerTextDrawSetString(playerid, Inventori11[playerid], string); // Varsta
- format(string, sizeof(string), "Oras: %s",PlayerInfo[playerid][Oras]);
- PlayerTextDrawSetString(playerid, Inventori12[playerid], string); // Oras
- format(string, sizeof(string), "Numar: %d",PlayerInfo[playerid][Numar]);
- PlayerTextDrawSetString(playerid, Inventori13[playerid], string); // Numar
- format(string, sizeof(string), "Viata: %.0f%",Viata);
- PlayerTextDrawSetString(playerid, Inventori14[playerid], string); // Viata
- format(string, sizeof(string), "Armura: %.0f%",Armura);
- PlayerTextDrawSetString(playerid, Inventori15[playerid], string); // Armura
- format(string, sizeof(string), "Vehicule: %d",PlayerInfo[playerid][Vehicule]);
- PlayerTextDrawSetString(playerid, Inventori16[playerid], string); // Vehicule
- format(string, sizeof(string), "Cautat: %d",PlayerInfo[playerid][Wanted]);
- PlayerTextDrawSetString(playerid, Inventori17[playerid], string); // Cautat
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- LoadTextDraw(playerid)
- return 1;
- }
- stock LoadTextDraw(playerid)
- {
- //===========================================================================[Inventori]======================================================================================
- Inventori0[playerid] = CreatePlayerTextDraw(playerid, 566.000000, 79.375000, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori0[playerid], 0.000000, 33.759719);
- PlayerTextDrawTextSize(playerid, Inventori0[playerid], 71.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori0[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori0[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori0[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori0[playerid], 102);
- PlayerTextDrawSetShadow(playerid, Inventori0[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori0[playerid], 0);
- PlayerTextDrawFont(playerid, Inventori0[playerid], 0);
- Inventori1[playerid] = CreatePlayerTextDraw(playerid, 68.500000, 71.937500, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori1[playerid], 0.000000, 35.315277);
- PlayerTextDrawTextSize(playerid, Inventori1[playerid], 75.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori1[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori1[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori1[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori1[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori1[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori1[playerid], 0);
- PlayerTextDrawFont(playerid, Inventori1[playerid], 0);
- Inventori2[playerid] = CreatePlayerTextDraw(playerid, 575.500000, 71.500000, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori2[playerid], 0.000000, 1.093055);
- PlayerTextDrawTextSize(playerid, Inventori2[playerid], 64.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori2[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori2[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori2[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori2[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori2[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori2[playerid], 0);
- PlayerTextDrawFont(playerid, Inventori2[playerid], 0);
- Inventori3[playerid] = CreatePlayerTextDraw(playerid, 561.500000, 71.937500, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori3[playerid], 0.000000, 35.509719);
- PlayerTextDrawTextSize(playerid, Inventori3[playerid], 570.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori3[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori3[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori3[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori3[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori3[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori3[playerid], 0);
- PlayerTextDrawBackgroundColor(playerid, Inventori3[playerid], 255);
- PlayerTextDrawFont(playerid, Inventori3[playerid], 0);
- Inventori4[playerid] = CreatePlayerTextDraw(playerid, 572.500000, 384.312500, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori4[playerid], 0.000000, 0.850000);
- PlayerTextDrawTextSize(playerid, Inventori4[playerid], 64.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori4[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori4[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori4[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori4[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori4[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori4[playerid], 0);
- PlayerTextDrawFont(playerid, Inventori4[playerid], 0);
- Inventori5[playerid] = CreatePlayerTextDraw(playerid, 295.500000, 94.062500, "Nume");
- PlayerTextDrawLetterSize(playerid, Inventori5[playerid], 0.587499, 3.481250);
- PlayerTextDrawAlignment(playerid, Inventori5[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori5[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori5[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori5[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori5[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori5[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori5[playerid], 1);
- Inventori6[playerid] = CreatePlayerTextDraw(playerid, 189.500000, 95.125000, "_");//skin
- PlayerTextDrawFont(playerid, Inventori6[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
- PlayerTextDrawColor(playerid, Inventori6[playerid], 0xFFFFFFFF);
- PlayerTextDrawBackgroundColor(playerid, Inventori6[playerid], 0x88888899);
- PlayerTextDrawTextSize(playerid, Inventori6[playerid], -100.0, 110.0);
- PlayerTextDrawSetPreviewModel(playerid, Inventori6[playerid], 0);
- Inventori7[playerid] = CreatePlayerTextDraw(playerid, 209.000000, 72.812500, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori7[playerid], 0.000000, 34.731941);
- PlayerTextDrawTextSize(playerid, Inventori7[playerid], 192.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori7[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori7[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori7[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori7[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori7[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori7[playerid], 0);
- PlayerTextDrawFont(playerid, Inventori7[playerid], 0);
- Inventori8[playerid] = CreatePlayerTextDraw(playerid, 200.000000, 212.375000, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori8[playerid], 0.000000, 1.384721);
- PlayerTextDrawTextSize(playerid, Inventori8[playerid], 73.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori8[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori8[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori8[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori8[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori8[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori8[playerid], 0);
- PlayerTextDrawFont(playerid, Inventori8[playerid], 0);
- Inventori9[playerid] = CreatePlayerTextDraw(playerid, 567.500000, 141.500000, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori9[playerid], 0.000000, 1.044443);
- PlayerTextDrawTextSize(playerid, Inventori9[playerid], 193.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori9[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori9[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori9[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori9[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori9[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori9[playerid], 0);
- PlayerTextDrawBackgroundColor(playerid, Inventori9[playerid], -1);
- PlayerTextDrawFont(playerid, Inventori9[playerid], 0);
- Inventori10[playerid] = CreatePlayerTextDraw(playerid, 110.500000, 228.375000, "Data");
- PlayerTextDrawLetterSize(playerid, Inventori10[playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Inventori10[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori10[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori10[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori10[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori10[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori10[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori10[playerid], 1);
- Inventori11[playerid] = CreatePlayerTextDraw(playerid, 79.500000, 252.000000, "Varsta");
- PlayerTextDrawLetterSize(playerid, Inventori11[playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Inventori11[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori11[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori11[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori11[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori11[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori11[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori11[playerid], 1);
- Inventori12[playerid] = CreatePlayerTextDraw(playerid, 79.000000, 269.062500, "Oras");
- PlayerTextDrawLetterSize(playerid, Inventori12[playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Inventori12[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori12[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori12[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori12[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori12[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori12[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori12[playerid], 1);
- Inventori13[playerid] = CreatePlayerTextDraw(playerid, 80.500000, 287.437500, "Numar");
- PlayerTextDrawLetterSize(playerid, Inventori13[playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Inventori13[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori13[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori13[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori13[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori13[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori13[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori13[playerid], 1);
- Inventori14[playerid] = CreatePlayerTextDraw(playerid, 80.000000, 306.250000, "Viata");
- PlayerTextDrawLetterSize(playerid, Inventori14[playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Inventori14[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori14[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori14[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori14[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori14[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori14[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori14[playerid], 1);
- Inventori15[playerid] = CreatePlayerTextDraw(playerid, 80.500000, 322.000000, "Armura");
- PlayerTextDrawLetterSize(playerid, Inventori15[playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Inventori15[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori15[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori15[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori15[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori15[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori15[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori15[playerid], 1);
- Inventori16[playerid] = CreatePlayerTextDraw(playerid, 79.000000, 339.937500, "Vehicule");
- PlayerTextDrawLetterSize(playerid, Inventori16[playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Inventori16[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori16[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori16[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori16[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori16[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori16[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori16[playerid], 1);
- Inventori17[playerid] = CreatePlayerTextDraw(playerid, 81.000000, 356.562500, "Cautat");
- PlayerTextDrawLetterSize(playerid, Inventori17[playerid], 0.449999, 1.600000);
- PlayerTextDrawAlignment(playerid, Inventori17[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori17[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori17[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori17[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori17[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori17[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori17[playerid], 1);
- Inventori18[playerid] = CreatePlayerTextDraw(playerid, 306.000000, 170.812500, "usebox");//slot sus 1
- PlayerTextDrawFont(playerid, Inventori18[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
- PlayerTextDrawColor(playerid, Inventori18[playerid], 0xFFFFFFFF);
- PlayerTextDrawBackgroundColor(playerid, Inventori18[playerid], 0x88888899);
- PlayerTextDrawTextSize(playerid, Inventori18[playerid], -100.0, 65.0);
- PlayerTextDrawSetPreviewModel(playerid, Inventori18[playerid], 411);
- Inventori19[playerid] = CreatePlayerTextDraw(playerid, 435.500000, 171.250000, "usebox");//slot sus 2
- PlayerTextDrawFont(playerid, Inventori19[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
- PlayerTextDrawColor(playerid, Inventori19[playerid], 0xFFFFFFFF);
- PlayerTextDrawBackgroundColor(playerid, Inventori19[playerid], 0x88888899);
- PlayerTextDrawTextSize(playerid, Inventori19[playerid], -100.0, 65.0);
- PlayerTextDrawSetPreviewModel(playerid, Inventori19[playerid], 411);
- Inventori20[playerid] = CreatePlayerTextDraw(playerid, 555.000000, 171.250000, "usebox");//slot sus 3
- PlayerTextDrawFont(playerid, Inventori20[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
- PlayerTextDrawColor(playerid, Inventori20[playerid], 0xFFFFFFFF);
- PlayerTextDrawBackgroundColor(playerid, Inventori20[playerid], 0x88888899);
- PlayerTextDrawTextSize(playerid, Inventori20[playerid], -100.0, 65.0);
- PlayerTextDrawSetPreviewModel(playerid, Inventori20[playerid], 411);
- Inventori21[playerid] = CreatePlayerTextDraw(playerid, 574.000000, 248.687500, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori21[playerid], 0.000000, 0.995832);
- PlayerTextDrawTextSize(playerid, Inventori21[playerid], 194.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori21[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori21[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori21[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori21[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori21[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori21[playerid], 0);
- PlayerTextDrawFont(playerid, Inventori21[playerid], 0);
- Inventori22[playerid] = CreatePlayerTextDraw(playerid, 303.500000, 274.062500, "usebox");//slot jos 1
- PlayerTextDrawFont(playerid, Inventori22[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
- PlayerTextDrawColor(playerid, Inventori22[playerid], 0xFFFFFFFF);
- PlayerTextDrawBackgroundColor(playerid, Inventori22[playerid], 0x88888899);
- PlayerTextDrawTextSize(playerid, Inventori22[playerid], -100.0, 65.0);
- PlayerTextDrawSetPreviewModel(playerid, Inventori22[playerid], 411);
- Inventori23[playerid] = CreatePlayerTextDraw(playerid, 435.500000, 274.500000, "usebox");//slot jos 2
- PlayerTextDrawFont(playerid, Inventori23[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
- PlayerTextDrawColor(playerid, Inventori23[playerid], 0xFFFFFFFF);
- PlayerTextDrawBackgroundColor(playerid, Inventori23[playerid], 0x88888899);
- PlayerTextDrawTextSize(playerid, Inventori23[playerid], -100.0, 65.0);
- PlayerTextDrawSetPreviewModel(playerid, Inventori23[playerid], 411);
- Inventori24[playerid] = CreatePlayerTextDraw(playerid, 553.500000, 276.250000, "usebox");//slot jos 3
- PlayerTextDrawFont(playerid, Inventori24[playerid], TEXT_DRAW_FONT_MODEL_PREVIEW);
- PlayerTextDrawColor(playerid, Inventori24[playerid], 0xFFFFFFFF);
- PlayerTextDrawBackgroundColor(playerid, Inventori24[playerid], 0x88888899);
- PlayerTextDrawTextSize(playerid, Inventori24[playerid], -100.0, 65.0);
- PlayerTextDrawSetPreviewModel(playerid, Inventori24[playerid], 411);
- Inventori25[playerid] = CreatePlayerTextDraw(playerid, 571.500000, 341.875000, "usebox");
- PlayerTextDrawLetterSize(playerid, Inventori25[playerid], 0.000000, 4.398611);
- PlayerTextDrawTextSize(playerid, Inventori25[playerid], 192.500000, 0.000000);
- PlayerTextDrawAlignment(playerid, Inventori25[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori25[playerid], 0);
- PlayerTextDrawUseBox(playerid, Inventori25[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori25[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori25[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori25[playerid], 0);
- PlayerTextDrawFont(playerid, Inventori25[playerid], 0);
- Inventori26[playerid] = CreatePlayerTextDraw(playerid, 326.000000, 348.687500, "Inventori");
- PlayerTextDrawLetterSize(playerid, Inventori26[playerid], 0.622499, 3.109374);
- PlayerTextDrawAlignment(playerid, Inventori26[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori26[playerid], -1);
- PlayerTextDrawSetShadow(playerid, Inventori26[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori26[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori26[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori26[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori26[playerid], 1);
- Inventori27[playerid] = CreatePlayerTextDraw(playerid, 543.000000, 257.687500, ">");
- PlayerTextDrawLetterSize(playerid, Inventori27[playerid], 0.449999, 1.600000);
- PlayerTextDrawTextSize(playerid, Inventori27[playerid], 562.500000, 15.312500);
- PlayerTextDrawAlignment(playerid, Inventori27[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori27[playerid], -1);
- PlayerTextDrawUseBox(playerid, Inventori27[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori27[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori27[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori27[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori27[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori27[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori27[playerid], 1);
- PlayerTextDrawSetSelectable(playerid, Inventori27[playerid], true);
- Inventori28[playerid] = CreatePlayerTextDraw(playerid, 205.500000, 256.812500, "<");
- PlayerTextDrawLetterSize(playerid, Inventori28[playerid], 0.449999, 1.600000);
- PlayerTextDrawTextSize(playerid, Inventori28[playerid], 222.500000, 4.375000);
- PlayerTextDrawAlignment(playerid, Inventori28[playerid], 1);
- PlayerTextDrawColor(playerid, Inventori28[playerid], -1);
- PlayerTextDrawUseBox(playerid, Inventori28[playerid], true);
- PlayerTextDrawBoxColor(playerid, Inventori28[playerid], 255);
- PlayerTextDrawSetShadow(playerid, Inventori28[playerid], 0);
- PlayerTextDrawSetOutline(playerid, Inventori28[playerid], 1);
- PlayerTextDrawBackgroundColor(playerid, Inventori28[playerid], 51);
- PlayerTextDrawFont(playerid, Inventori28[playerid], 1);
- PlayerTextDrawSetProportional(playerid, Inventori28[playerid], 1);
- PlayerTextDrawSetSelectable(playerid, Inventori28[playerid], true);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement