Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////////////////////////////////////////////////////////////////////////
- #include < a_samp >
- #include < a_objects >
- #include < core >
- #include < float >
- #include < time >
- #include < morphinc >
- #include < file >
- #include < foreach >
- #include < streamer >
- #include < YSI\y_ini >
- #include < YSI\y_commands >
- #include < sscanf2 >
- #include < YSI\y_va >
- ////////////////////////////////////////////////////////////////////////////////
- new Text:BincoTD[43];
- #define SPD ShowPlayerDialog
- #define BELA "{FFFFFF}"
- ////////////////////////////////////////////////////////////////////////////////
- #define DIALOG_INTERNET 341
- ////////////////////////////////////////////////////////////////////////////////
- public OnGameModeInit()
- {
- //------------------------------------------------------------------------------
- CreateDynamicPickup(1239, 1, 1475.8835,-1733.8163,13.2044); // internet cafe
- CreateDynamic3DTextLabel(""BELA"[ INTERNET CAFE ]\nZa koriscenje usluga\nKomanda: /internet",0x9EC73DFF, 1475.8835,-1733.8163,13.2044, 30, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 15.0);
- //------------------------------------------------------------------------------
- BincoTD[0] = TextDrawCreate(82.000000, 64.000000, "LD_SPAC:white");
- TextDrawLetterSize(BincoTD[0], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[0], 518.000000, 272.000000);
- TextDrawAlignment(BincoTD[0], 1);
- TextDrawColor(BincoTD[0], -1061109505);
- TextDrawSetShadow(BincoTD[0], 0);
- TextDrawSetOutline(BincoTD[0], 0);
- TextDrawBackgroundColor(BincoTD[0], 255);
- TextDrawFont(BincoTD[0], 4);
- TextDrawSetProportional(BincoTD[0], 0);
- TextDrawSetShadow(BincoTD[0], 0);
- BincoTD[1] = TextDrawCreate(82.000000, 63.125000, "LD_SPAC:white");
- TextDrawLetterSize(BincoTD[1], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[1], 518.000000, 11.000000);
- TextDrawAlignment(BincoTD[1], 1);
- TextDrawColor(BincoTD[1], -2139062017);
- TextDrawSetShadow(BincoTD[1], 0);
- TextDrawSetOutline(BincoTD[1], 0);
- TextDrawBackgroundColor(BincoTD[1], 255);
- TextDrawFont(BincoTD[1], 4);
- TextDrawSetProportional(BincoTD[1], 0);
- TextDrawSetShadow(BincoTD[1], 0);
- BincoTD[2] = TextDrawCreate(90.000000, 63.562500, "ic");
- TextDrawLetterSize(BincoTD[2], 0.203999, 0.913124);
- TextDrawAlignment(BincoTD[2], 1);
- TextDrawColor(BincoTD[2], -1);
- TextDrawSetShadow(BincoTD[2], 0);
- TextDrawSetOutline(BincoTD[2], 0);
- TextDrawBackgroundColor(BincoTD[2], 255);
- TextDrawFont(BincoTD[2], 2);
- TextDrawSetProportional(BincoTD[2], 1);
- TextDrawSetShadow(BincoTD[2], 0);
- BincoTD[3] = TextDrawCreate(86.000000, 63.125000, "ld_pool:ball");
- TextDrawLetterSize(BincoTD[3], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[3], 16.000000, 11.000000);
- TextDrawAlignment(BincoTD[3], 1);
- TextDrawColor(BincoTD[3], 255);
- TextDrawSetShadow(BincoTD[3], 0);
- TextDrawSetOutline(BincoTD[3], 0);
- TextDrawBackgroundColor(BincoTD[3], 255);
- TextDrawFont(BincoTD[3], 4);
- TextDrawSetProportional(BincoTD[3], 0);
- TextDrawSetShadow(BincoTD[3], 0);
- BincoTD[4] = TextDrawCreate(589.000000, 59.187500, "x");
- TextDrawLetterSize(BincoTD[4], 0.400000, 1.600000);
- TextDrawAlignment(BincoTD[4], 1);
- TextDrawColor(BincoTD[4], -16776961);
- TextDrawSetShadow(BincoTD[4], 0);
- TextDrawSetOutline(BincoTD[4], 0);
- TextDrawBackgroundColor(BincoTD[4], 255);
- TextDrawFont(BincoTD[4], 1);
- TextDrawSetProportional(BincoTD[4], 1);
- TextDrawSetShadow(BincoTD[4], 0);
- TextDrawSetSelectable(BincoTD[4], true);
- BincoTD[5] = TextDrawCreate(258.000000, 63.125000, "www.BincoTD-shop.com");
- TextDrawLetterSize(BincoTD[5], 0.361999, 1.000625);
- TextDrawAlignment(BincoTD[5], 1);
- TextDrawColor(BincoTD[5], -1);
- TextDrawSetShadow(BincoTD[5], 0);
- TextDrawSetOutline(BincoTD[5], 0);
- TextDrawBackgroundColor(BincoTD[5], 255);
- TextDrawFont(BincoTD[5], 1);
- TextDrawSetProportional(BincoTD[5], 1);
- TextDrawSetShadow(BincoTD[5], 0);
- BincoTD[6] = TextDrawCreate(121.000000, 81.937500, "B");
- TextDrawLetterSize(BincoTD[6], 0.715999, 3.669372);
- TextDrawAlignment(BincoTD[6], 1);
- TextDrawColor(BincoTD[6], -5963521);
- TextDrawSetShadow(BincoTD[6], 0);
- TextDrawSetOutline(BincoTD[6], 1);
- TextDrawBackgroundColor(BincoTD[6], 255);
- TextDrawFont(BincoTD[6], 2);
- TextDrawSetProportional(BincoTD[6], 1);
- TextDrawSetShadow(BincoTD[6], 0);
- BincoTD[7] = TextDrawCreate(107.000000, 100.312500, "LD_SPAC:white");
- TextDrawLetterSize(BincoTD[7], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[7], 26.000000, 2.000000);
- TextDrawAlignment(BincoTD[7], 1);
- TextDrawColor(BincoTD[7], -5963521);
- TextDrawSetShadow(BincoTD[7], 0);
- TextDrawSetOutline(BincoTD[7], 0);
- TextDrawBackgroundColor(BincoTD[7], 255);
- TextDrawFont(BincoTD[7], 4);
- TextDrawSetProportional(BincoTD[7], 0);
- TextDrawSetShadow(BincoTD[7], 0);
- BincoTD[8] = TextDrawCreate(97.000000, 104.687500, "LD_SPAC:white");
- TextDrawLetterSize(BincoTD[8], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[8], 26.000000, 2.000000);
- TextDrawAlignment(BincoTD[8], 1);
- TextDrawColor(BincoTD[8], -5963521);
- TextDrawSetShadow(BincoTD[8], 0);
- TextDrawSetOutline(BincoTD[8], 0);
- TextDrawBackgroundColor(BincoTD[8], 255);
- TextDrawFont(BincoTD[8], 4);
- TextDrawSetProportional(BincoTD[8], 0);
- TextDrawSetShadow(BincoTD[8], 0);
- BincoTD[9] = TextDrawCreate(150.500000, 94.187500, "BincoTD_shop");
- TextDrawLetterSize(BincoTD[9], 0.326999, 1.341874);
- TextDrawAlignment(BincoTD[9], 1);
- TextDrawColor(BincoTD[9], -1);
- TextDrawSetShadow(BincoTD[9], 0);
- TextDrawSetOutline(BincoTD[9], 1);
- TextDrawBackgroundColor(BincoTD[9], 255);
- TextDrawFont(BincoTD[9], 2);
- TextDrawSetProportional(BincoTD[9], 1);
- TextDrawSetShadow(BincoTD[9], 0);
- BincoTD[10] = TextDrawCreate(157.500000, 104.250000, "internet_prodaja");
- TextDrawLetterSize(BincoTD[10], 0.163498, 1.219375);
- TextDrawAlignment(BincoTD[10], 1);
- TextDrawColor(BincoTD[10], -5963521);
- TextDrawSetShadow(BincoTD[10], 0);
- TextDrawSetOutline(BincoTD[10], 0);
- TextDrawBackgroundColor(BincoTD[10], 255);
- TextDrawFont(BincoTD[10], 2);
- TextDrawSetProportional(BincoTD[10], 1);
- TextDrawSetShadow(BincoTD[10], 0);
- BincoTD[11] = TextDrawCreate(309.000000, 96.812500, "LD_SPAC:white");
- TextDrawLetterSize(BincoTD[11], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[11], 180.000000, 11.000000);
- TextDrawAlignment(BincoTD[11], 1);
- TextDrawColor(BincoTD[11], -2139062017);
- TextDrawSetShadow(BincoTD[11], 0);
- TextDrawSetOutline(BincoTD[11], 0);
- TextDrawBackgroundColor(BincoTD[11], 255);
- TextDrawFont(BincoTD[11], 4);
- TextDrawSetProportional(BincoTD[11], 0);
- TextDrawSetShadow(BincoTD[11], 0);
- BincoTD[12] = TextDrawCreate(315.000000, 95.937500, "odeca");
- TextDrawLetterSize(BincoTD[12], 0.247500, 1.136250);
- TextDrawAlignment(BincoTD[12], 1);
- TextDrawColor(BincoTD[12], -1);
- TextDrawSetShadow(BincoTD[12], 0);
- TextDrawSetOutline(BincoTD[12], 0);
- TextDrawBackgroundColor(BincoTD[12], 255);
- TextDrawFont(BincoTD[12], 2);
- TextDrawSetProportional(BincoTD[12], 1);
- TextDrawSetShadow(BincoTD[12], 0);
- BincoTD[13] = TextDrawCreate(376.000000, 95.937500, "naocare");
- TextDrawLetterSize(BincoTD[13], 0.247500, 1.136250);
- TextDrawAlignment(BincoTD[13], 1);
- TextDrawColor(BincoTD[13], -1);
- TextDrawSetShadow(BincoTD[13], 0);
- TextDrawSetOutline(BincoTD[13], 0);
- TextDrawBackgroundColor(BincoTD[13], 255);
- TextDrawFont(BincoTD[13], 2);
- TextDrawSetProportional(BincoTD[13], 1);
- TextDrawSetShadow(BincoTD[13], 0);
- BincoTD[14] = TextDrawCreate(444.500000, 95.937500, "kaciga");
- TextDrawLetterSize(BincoTD[14], 0.247500, 1.136250);
- TextDrawAlignment(BincoTD[14], 1);
- TextDrawColor(BincoTD[14], -1);
- TextDrawSetShadow(BincoTD[14], 0);
- TextDrawSetOutline(BincoTD[14], 0);
- TextDrawBackgroundColor(BincoTD[14], 255);
- TextDrawFont(BincoTD[14], 2);
- TextDrawSetProportional(BincoTD[14], 1);
- TextDrawSetShadow(BincoTD[14], 0);
- BincoTD[15] = TextDrawCreate(105.000000, 145.375000, "");
- TextDrawLetterSize(BincoTD[15], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[15], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[15], 1);
- TextDrawColor(BincoTD[15], -1061109505);
- TextDrawSetShadow(BincoTD[15], 0);
- TextDrawSetOutline(BincoTD[15], 0);
- TextDrawBackgroundColor(BincoTD[15], -2139062017);
- TextDrawFont(BincoTD[15], 5);
- TextDrawSetProportional(BincoTD[15], 0);
- TextDrawSetShadow(BincoTD[15], 0);
- TextDrawSetSelectable(BincoTD[15], true);
- TextDrawSetPreviewModel(BincoTD[15], 24);
- TextDrawSetPreviewRot(BincoTD[15], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[16] = TextDrawCreate(110.500000, 220.187500, "cena:_250_$");
- TextDrawLetterSize(BincoTD[16], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[16], 1);
- TextDrawColor(BincoTD[16], -5963521);
- TextDrawSetShadow(BincoTD[16], 0);
- TextDrawSetOutline(BincoTD[16], 1);
- TextDrawBackgroundColor(BincoTD[16], 255);
- TextDrawFont(BincoTD[16], 2);
- TextDrawSetProportional(BincoTD[16], 1);
- TextDrawSetShadow(BincoTD[16], 0);
- BincoTD[17] = TextDrawCreate(172.500000, 145.375000, "");
- TextDrawLetterSize(BincoTD[17], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[17], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[17], 1);
- TextDrawColor(BincoTD[17], -1061109505);
- TextDrawSetShadow(BincoTD[17], 0);
- TextDrawSetOutline(BincoTD[17], 0);
- TextDrawBackgroundColor(BincoTD[17], -2139062017);
- TextDrawFont(BincoTD[17], 5);
- TextDrawSetProportional(BincoTD[17], 0);
- TextDrawSetShadow(BincoTD[17], 0);
- TextDrawSetSelectable(BincoTD[17], true);
- TextDrawSetPreviewModel(BincoTD[17], 25);
- TextDrawSetPreviewRot(BincoTD[17], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[18] = TextDrawCreate(240.500000, 145.375000, "");
- TextDrawLetterSize(BincoTD[18], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[18], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[18], 1);
- TextDrawColor(BincoTD[18], -1061109505);
- TextDrawSetShadow(BincoTD[18], 0);
- TextDrawSetOutline(BincoTD[18], 0);
- TextDrawBackgroundColor(BincoTD[18], -2139062017);
- TextDrawFont(BincoTD[18], 5);
- TextDrawSetProportional(BincoTD[18], 0);
- TextDrawSetShadow(BincoTD[18], 0);
- TextDrawSetSelectable(BincoTD[18], true);
- TextDrawSetPreviewModel(BincoTD[18], 28);
- TextDrawSetPreviewRot(BincoTD[18], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[19] = TextDrawCreate(308.500000, 145.375000, "");
- TextDrawLetterSize(BincoTD[19], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[19], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[19], 1);
- TextDrawColor(BincoTD[19], -1061109505);
- TextDrawSetShadow(BincoTD[19], 0);
- TextDrawSetOutline(BincoTD[19], 0);
- TextDrawBackgroundColor(BincoTD[19], -2139062017);
- TextDrawFont(BincoTD[19], 5);
- TextDrawSetProportional(BincoTD[19], 0);
- TextDrawSetShadow(BincoTD[19], 0);
- TextDrawSetSelectable(BincoTD[19], true);
- TextDrawSetPreviewModel(BincoTD[19], 29);
- TextDrawSetPreviewRot(BincoTD[19], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[20] = TextDrawCreate(375.500000, 145.375000, "");
- TextDrawLetterSize(BincoTD[20], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[20], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[20], 1);
- TextDrawColor(BincoTD[20], -1061109505);
- TextDrawSetShadow(BincoTD[20], 0);
- TextDrawSetOutline(BincoTD[20], 0);
- TextDrawBackgroundColor(BincoTD[20], -2139062017);
- TextDrawFont(BincoTD[20], 5);
- TextDrawSetProportional(BincoTD[20], 0);
- TextDrawSetShadow(BincoTD[20], 0);
- TextDrawSetSelectable(BincoTD[20], true);
- TextDrawSetPreviewModel(BincoTD[20], 30);
- TextDrawSetPreviewRot(BincoTD[20], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[21] = TextDrawCreate(443.500000, 145.375000, "");
- TextDrawLetterSize(BincoTD[21], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[21], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[21], 1);
- TextDrawColor(BincoTD[21], -1061109505);
- TextDrawSetShadow(BincoTD[21], 0);
- TextDrawSetOutline(BincoTD[21], 0);
- TextDrawBackgroundColor(BincoTD[21], -2139062017);
- TextDrawFont(BincoTD[21], 5);
- TextDrawSetProportional(BincoTD[21], 0);
- TextDrawSetShadow(BincoTD[21], 0);
- TextDrawSetSelectable(BincoTD[21], true);
- TextDrawSetPreviewModel(BincoTD[21], 35);
- TextDrawSetPreviewRot(BincoTD[21], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[22] = TextDrawCreate(511.000000, 145.375000, "");
- TextDrawLetterSize(BincoTD[22], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[22], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[22], 1);
- TextDrawColor(BincoTD[22], -1061109505);
- TextDrawSetShadow(BincoTD[22], 0);
- TextDrawSetOutline(BincoTD[22], 0);
- TextDrawBackgroundColor(BincoTD[22], -2139062017);
- TextDrawFont(BincoTD[22], 5);
- TextDrawSetProportional(BincoTD[22], 0);
- TextDrawSetShadow(BincoTD[22], 0);
- TextDrawSetSelectable(BincoTD[22], true);
- TextDrawSetPreviewModel(BincoTD[22], 36);
- TextDrawSetPreviewRot(BincoTD[22], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[23] = TextDrawCreate(104.500000, 241.625000, "");
- TextDrawLetterSize(BincoTD[23], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[23], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[23], 1);
- TextDrawColor(BincoTD[23], -1061109505);
- TextDrawSetShadow(BincoTD[23], 0);
- TextDrawSetOutline(BincoTD[23], 0);
- TextDrawBackgroundColor(BincoTD[23], -2139062017);
- TextDrawFont(BincoTD[23], 5);
- TextDrawSetProportional(BincoTD[23], 0);
- TextDrawSetShadow(BincoTD[23], 0);
- TextDrawSetSelectable(BincoTD[23], true);
- TextDrawSetPreviewModel(BincoTD[23], 59);
- TextDrawSetPreviewRot(BincoTD[23], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[24] = TextDrawCreate(171.500000, 241.625000, "");
- TextDrawLetterSize(BincoTD[24], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[24], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[24], 1);
- TextDrawColor(BincoTD[24], -1061109505);
- TextDrawSetShadow(BincoTD[24], 0);
- TextDrawSetOutline(BincoTD[24], 0);
- TextDrawBackgroundColor(BincoTD[24], -2139062017);
- TextDrawFont(BincoTD[24], 5);
- TextDrawSetProportional(BincoTD[24], 0);
- TextDrawSetShadow(BincoTD[24], 0);
- TextDrawSetSelectable(BincoTD[24], true);
- TextDrawSetPreviewModel(BincoTD[24], 60);
- TextDrawSetPreviewRot(BincoTD[24], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[25] = TextDrawCreate(238.500000, 241.625000, "");
- TextDrawLetterSize(BincoTD[25], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[25], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[25], 1);
- TextDrawColor(BincoTD[25], -1061109505);
- TextDrawSetShadow(BincoTD[25], 0);
- TextDrawSetOutline(BincoTD[25], 0);
- TextDrawBackgroundColor(BincoTD[25], -2139062017);
- TextDrawFont(BincoTD[25], 5);
- TextDrawSetProportional(BincoTD[25], 0);
- TextDrawSetShadow(BincoTD[25], 0);
- TextDrawSetSelectable(BincoTD[25], true);
- TextDrawSetPreviewModel(BincoTD[25], 67);
- TextDrawSetPreviewRot(BincoTD[25], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[26] = TextDrawCreate(304.500000, 241.625000, "");
- TextDrawLetterSize(BincoTD[26], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[26], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[26], 1);
- TextDrawColor(BincoTD[26], -1061109505);
- TextDrawSetShadow(BincoTD[26], 0);
- TextDrawSetOutline(BincoTD[26], 0);
- TextDrawBackgroundColor(BincoTD[26], -2139062017);
- TextDrawFont(BincoTD[26], 5);
- TextDrawSetProportional(BincoTD[26], 0);
- TextDrawSetShadow(BincoTD[26], 0);
- TextDrawSetSelectable(BincoTD[26], true);
- TextDrawSetPreviewModel(BincoTD[26], 72);
- TextDrawSetPreviewRot(BincoTD[26], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[27] = TextDrawCreate(370.500000, 241.625000, "");
- TextDrawLetterSize(BincoTD[27], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[27], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[27], 1);
- TextDrawColor(BincoTD[27], -1061109505);
- TextDrawSetShadow(BincoTD[27], 0);
- TextDrawSetOutline(BincoTD[27], 0);
- TextDrawBackgroundColor(BincoTD[27], -2139062017);
- TextDrawFont(BincoTD[27], 5);
- TextDrawSetProportional(BincoTD[27], 0);
- TextDrawSetShadow(BincoTD[27], 0);
- TextDrawSetSelectable(BincoTD[27], true);
- TextDrawSetPreviewModel(BincoTD[27], 73);
- TextDrawSetPreviewRot(BincoTD[27], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[28] = TextDrawCreate(438.000000, 241.625000, "");
- TextDrawLetterSize(BincoTD[28], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[28], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[28], 1);
- TextDrawColor(BincoTD[28], -1061109505);
- TextDrawSetShadow(BincoTD[28], 0);
- TextDrawSetOutline(BincoTD[28], 0);
- TextDrawBackgroundColor(BincoTD[28], -2139062017);
- TextDrawFont(BincoTD[28], 5);
- TextDrawSetProportional(BincoTD[28], 0);
- TextDrawSetShadow(BincoTD[28], 0);
- TextDrawSetSelectable(BincoTD[28], true);
- TextDrawSetPreviewModel(BincoTD[28], 101);
- TextDrawSetPreviewRot(BincoTD[28], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[29] = TextDrawCreate(506.000000, 241.625000, "");
- TextDrawLetterSize(BincoTD[29], 0.000000, 0.000000);
- TextDrawTextSize(BincoTD[29], 68.000000, 73.000000);
- TextDrawAlignment(BincoTD[29], 1);
- TextDrawColor(BincoTD[29], -1061109505);
- TextDrawSetShadow(BincoTD[29], 0);
- TextDrawSetOutline(BincoTD[29], 0);
- TextDrawBackgroundColor(BincoTD[29], -2139062017);
- TextDrawFont(BincoTD[29], 5);
- TextDrawSetProportional(BincoTD[29], 0);
- TextDrawSetShadow(BincoTD[29], 0);
- TextDrawSetSelectable(BincoTD[29], true);
- TextDrawSetPreviewModel(BincoTD[29], 217);
- TextDrawSetPreviewRot(BincoTD[29], 0.000000, 0.000000, 0.000000, 1.000000);
- BincoTD[30] = TextDrawCreate(178.500000, 220.625000, "cena:_300_$");
- TextDrawLetterSize(BincoTD[30], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[30], 1);
- TextDrawColor(BincoTD[30], -5963521);
- TextDrawSetShadow(BincoTD[30], 0);
- TextDrawSetOutline(BincoTD[30], 1);
- TextDrawBackgroundColor(BincoTD[30], 255);
- TextDrawFont(BincoTD[30], 2);
- TextDrawSetProportional(BincoTD[30], 1);
- TextDrawSetShadow(BincoTD[30], 0);
- BincoTD[31] = TextDrawCreate(246.000000, 220.625000, "cena:_320_$");
- TextDrawLetterSize(BincoTD[31], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[31], 1);
- TextDrawColor(BincoTD[31], -5963521);
- TextDrawSetShadow(BincoTD[31], 0);
- TextDrawSetOutline(BincoTD[31], 1);
- TextDrawBackgroundColor(BincoTD[31], 255);
- TextDrawFont(BincoTD[31], 2);
- TextDrawSetProportional(BincoTD[31], 1);
- TextDrawSetShadow(BincoTD[31], 0);
- BincoTD[32] = TextDrawCreate(315.000000, 220.625000, "cena:_120_$");
- TextDrawLetterSize(BincoTD[32], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[32], 1);
- TextDrawColor(BincoTD[32], -5963521);
- TextDrawSetShadow(BincoTD[32], 0);
- TextDrawSetOutline(BincoTD[32], 1);
- TextDrawBackgroundColor(BincoTD[32], 255);
- TextDrawFont(BincoTD[32], 2);
- TextDrawSetProportional(BincoTD[32], 1);
- TextDrawSetShadow(BincoTD[32], 0);
- BincoTD[33] = TextDrawCreate(386.500000, 220.187500, "cena:_230_$");
- TextDrawLetterSize(BincoTD[33], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[33], 1);
- TextDrawColor(BincoTD[33], -5963521);
- TextDrawSetShadow(BincoTD[33], 0);
- TextDrawSetOutline(BincoTD[33], 1);
- TextDrawBackgroundColor(BincoTD[33], 255);
- TextDrawFont(BincoTD[33], 2);
- TextDrawSetProportional(BincoTD[33], 1);
- TextDrawSetShadow(BincoTD[33], 0);
- BincoTD[34] = TextDrawCreate(453.000000, 220.625000, "cena:_260_$");
- TextDrawLetterSize(BincoTD[34], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[34], 1);
- TextDrawColor(BincoTD[34], -5963521);
- TextDrawSetShadow(BincoTD[34], 0);
- TextDrawSetOutline(BincoTD[34], 1);
- TextDrawBackgroundColor(BincoTD[34], 255);
- TextDrawFont(BincoTD[34], 2);
- TextDrawSetProportional(BincoTD[34], 1);
- TextDrawSetShadow(BincoTD[34], 0);
- BincoTD[35] = TextDrawCreate(518.000000, 220.625000, "cena:_130_$");
- TextDrawLetterSize(BincoTD[35], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[35], 1);
- TextDrawColor(BincoTD[35], -5963521);
- TextDrawSetShadow(BincoTD[35], 0);
- TextDrawSetOutline(BincoTD[35], 1);
- TextDrawBackgroundColor(BincoTD[35], 255);
- TextDrawFont(BincoTD[35], 2);
- TextDrawSetProportional(BincoTD[35], 1);
- TextDrawSetShadow(BincoTD[35], 0);
- BincoTD[36] = TextDrawCreate(109.000000, 319.937500, "cena:_430_$");
- TextDrawLetterSize(BincoTD[36], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[36], 1);
- TextDrawColor(BincoTD[36], -5963521);
- TextDrawSetShadow(BincoTD[36], 0);
- TextDrawSetOutline(BincoTD[36], 1);
- TextDrawBackgroundColor(BincoTD[36], 255);
- TextDrawFont(BincoTD[36], 2);
- TextDrawSetProportional(BincoTD[36], 1);
- TextDrawSetShadow(BincoTD[36], 0);
- BincoTD[37] = TextDrawCreate(181.000000, 319.937500, "cena:_370_$");
- TextDrawLetterSize(BincoTD[37], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[37], 1);
- TextDrawColor(BincoTD[37], -5963521);
- TextDrawSetShadow(BincoTD[37], 0);
- TextDrawSetOutline(BincoTD[37], 1);
- TextDrawBackgroundColor(BincoTD[37], 255);
- TextDrawFont(BincoTD[37], 2);
- TextDrawSetProportional(BincoTD[37], 1);
- TextDrawSetShadow(BincoTD[37], 0);
- BincoTD[38] = TextDrawCreate(246.000000, 319.937500, "cena:_145_$");
- TextDrawLetterSize(BincoTD[38], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[38], 1);
- TextDrawColor(BincoTD[38], -5963521);
- TextDrawSetShadow(BincoTD[38], 0);
- TextDrawSetOutline(BincoTD[38], 1);
- TextDrawBackgroundColor(BincoTD[38], 255);
- TextDrawFont(BincoTD[38], 2);
- TextDrawSetProportional(BincoTD[38], 1);
- TextDrawSetShadow(BincoTD[38], 0);
- BincoTD[39] = TextDrawCreate(312.500000, 319.937500, "cena:_315_$");
- TextDrawLetterSize(BincoTD[39], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[39], 1);
- TextDrawColor(BincoTD[39], -5963521);
- TextDrawSetShadow(BincoTD[39], 0);
- TextDrawSetOutline(BincoTD[39], 1);
- TextDrawBackgroundColor(BincoTD[39], 255);
- TextDrawFont(BincoTD[39], 2);
- TextDrawSetProportional(BincoTD[39], 1);
- TextDrawSetShadow(BincoTD[39], 0);
- BincoTD[40] = TextDrawCreate(379.000000, 319.500000, "cena:_215_$");
- TextDrawLetterSize(BincoTD[40], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[40], 1);
- TextDrawColor(BincoTD[40], -5963521);
- TextDrawSetShadow(BincoTD[40], 0);
- TextDrawSetOutline(BincoTD[40], 1);
- TextDrawBackgroundColor(BincoTD[40], 255);
- TextDrawFont(BincoTD[40], 2);
- TextDrawSetProportional(BincoTD[40], 1);
- TextDrawSetShadow(BincoTD[40], 0);
- BincoTD[41] = TextDrawCreate(446.000000, 319.062500, "cena:_413_$");
- TextDrawLetterSize(BincoTD[41], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[41], 1);
- TextDrawColor(BincoTD[41], -5963521);
- TextDrawSetShadow(BincoTD[41], 0);
- TextDrawSetOutline(BincoTD[41], 1);
- TextDrawBackgroundColor(BincoTD[41], 255);
- TextDrawFont(BincoTD[41], 2);
- TextDrawSetProportional(BincoTD[41], 1);
- TextDrawSetShadow(BincoTD[41], 0);
- BincoTD[42] = TextDrawCreate(514.500000, 318.625000, "cena:_520_$");
- TextDrawLetterSize(BincoTD[42], 0.194499, 1.250000);
- TextDrawAlignment(BincoTD[42], 1);
- TextDrawColor(BincoTD[42], -5963521);
- TextDrawSetShadow(BincoTD[42], 0);
- TextDrawSetOutline(BincoTD[42], 1);
- TextDrawBackgroundColor(BincoTD[42], 255);
- TextDrawFont(BincoTD[42], 2);
- TextDrawSetProportional(BincoTD[42], 1);
- TextDrawSetShadow(BincoTD[42], 0);
- return 1;
- }
- ////////////////////////////////////////////////////////////////////////////////
- public OnPlayerClickTextDraw(playerid, Text:clickedid)
- {
- if(clickedid == BincoTD[15])
- {
- SetPlayerSkin(playerid,24);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[17])
- {
- SetPlayerSkin(playerid,25);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[18])
- {
- SetPlayerSkin(playerid,28);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[19])
- {
- SetPlayerSkin(playerid,29);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[20])
- {
- SetPlayerSkin(playerid,30);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[21])
- {
- SetPlayerSkin(playerid,35);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[22])
- {
- SetPlayerSkin(playerid,36);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[23])
- {
- SetPlayerSkin(playerid,59);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[24])
- {
- SetPlayerSkin(playerid,60);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[25])
- {
- SetPlayerSkin(playerid,67);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[26])
- {
- SetPlayerSkin(playerid,72);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[27])
- {
- SetPlayerSkin(playerid,73);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[28])
- {
- SetPlayerSkin(playerid,101);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[29])
- {
- SetPlayerSkin(playerid,217);
- GivePlayerMoney(playerid,-100);
- for(new i = 0; i < 43; i++) { TextDrawHideForPlayer(playerid, BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Kupili ste odecu, hvala vam sto koristite Binco internet kupovinu");
- CancelSelectTextDraw(playerid);
- }
- if(clickedid == BincoTD[5])
- {
- for(new i = 0; i < 43; i++) { TextDrawDestroy(BincoTD[i]); }
- SendClientMessage(playerid,-1,BELA"Ugasili ste pretrazivac!");
- CancelSelectTextDraw(playerid);
- }
- return 1;
- }
- ////////////////////////////////////////////////////////////////////////////////
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- if(newkeys == KEY_SUBMISSION)
- {
- TextDrawShowForPlayer(playerid, BincoTD[15]);
- SelectTextDraw(playerid, 0xFF4040AA);
- }
- return 1;
- }
- ////////////////////////////////////////////////////////////////////////////////
- YCMD:internet(playerid, params[],help)
- {
- #pragma unused help
- if(IsPlayerInRangeOfPoint(playerid, 5.0, 1475.8835,-1733.8163,13.2044))
- {
- SendClientMessage(playerid, -1,""BELA"Dobrodosli u Internet Cafe");
- SPD(playerid, DIALOG_INTERNET, DIALOG_STYLE_LIST, ""BELA"Internet Cafe", "Binco Shop", "Odaberi", "Izlaz");
- }
- else return SendClientMessage(playerid,-1,BELA"Niste u Internet Cafe-u !");
- return 1;
- }
- ////////////////////////////////////////////////////////////////////////////////
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == DIALOG_INTERNET)
- {
- if(response)
- {
- if(listitem == 0)
- {
- for(new i = 0; i < 43; i++) { TextDrawShowForPlayer(playerid, BincoTD[i]); }
- SelectTextDraw(playerid, 0xFF4040AA);
- }
- return 1;
- }
- }
- return 1;
- }
- ////////////////////////////////////////////////////////////////////////////////
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement