mSelection and pressable TD problem
#1

hello everybody,
I have a little problem with my mSelection and clickable TD.
When I click on them I have no response.
I tired to update and recompile my mSelection include but after I tested it I got the same problem.
Please help me.
Reply
#2

bump
Reply
#3

Post code please.
Reply
#4

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Post code please.
TD
PHP код:
stock CreatePlayerTextdraws(playerid// MDC textdraws
{
    
MDC[0][playerid] = CreatePlayerTextDraw(playerid135.000000121.000000"                                                    ");
    
PlayerTextDrawBackgroundColor(playeridMDC[0][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[0][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[0][playerid], 0.50000029.000000);
    
PlayerTextDrawColor(playeridMDC[0][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[0][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[0][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[0][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[0][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[0][playerid], 148);
    
PlayerTextDrawTextSize(playeridMDC[0][playerid], 491.0000001.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[0][playerid], 0);
    
    
MDC[1][playerid] = CreatePlayerTextDraw(playerid223.000000122.000000"CHICAGO POLICE DEPARTMENT");
    
PlayerTextDrawBackgroundColor(playeridMDC[1][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[1][playerid], 2);
    
PlayerTextDrawLetterSize(playeridMDC[1][playerid], 0.2800001.699999);
    
PlayerTextDrawColor(playeridMDC[1][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[1][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[1][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[1][playerid], 1);
    
PlayerTextDrawSetSelectable(playeridMDC[1][playerid], 0);
    
    
MDC[2][playerid] = CreatePlayerTextDraw(playerid135.000000142.000000" ");
    
PlayerTextDrawBackgroundColor(playeridMDC[2][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[2][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[2][playerid], 0.5099991.000000);
    
PlayerTextDrawColor(playeridMDC[2][playerid], 8454143);
    
PlayerTextDrawSetOutline(playeridMDC[2][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[2][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[2][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[2][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[2][playerid], 8454143);
    
PlayerTextDrawTextSize(playeridMDC[2][playerid], 491.0000001.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[2][playerid], 0);
    
    
MDC[3][playerid] = CreatePlayerTextDraw(playerid255.000000169.000000"                                              ");
    
PlayerTextDrawBackgroundColor(playeridMDC[3][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[3][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[3][playerid], 0.8900003.599994);
    
PlayerTextDrawColor(playeridMDC[3][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[3][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[3][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[3][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[3][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[3][playerid], -206);
    
PlayerTextDrawTextSize(playeridMDC[3][playerid], 374.0000001.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[3][playerid], 0);
    
    
MDC[4][playerid] = CreatePlayerTextDraw(playerid135.000000365.000000" ");
    
PlayerTextDrawBackgroundColor(playeridMDC[4][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[4][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[4][playerid], 0.5099991.000000);
    
PlayerTextDrawColor(playeridMDC[4][playerid], 8454143);
    
PlayerTextDrawSetOutline(playeridMDC[4][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[4][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[4][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[4][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[4][playerid], 8454143);
    
PlayerTextDrawTextSize(playeridMDC[4][playerid], 491.0000001.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[4][playerid], 0);
    
    
MDC[5][playerid] = CreatePlayerTextDraw(playerid261.000000171.000000"ld_otb2:butnc");
    
PlayerTextDrawBackgroundColor(playeridMDC[5][playerid], 0);
    
PlayerTextDrawFont(playeridMDC[5][playerid], 4);
    
PlayerTextDrawLetterSize(playeridMDC[5][playerid], 0.8100001.000000);
    
PlayerTextDrawColor(playeridMDC[5][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[5][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[5][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[5][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[5][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[5][playerid], 255);
    
PlayerTextDrawTextSize(playeridMDC[5][playerid], 107.00000028.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[5][playerid], 1);
    
    
MDC[6][playerid] = CreatePlayerTextDraw(playerid261.000000203.000000"ld_otb2:butnc");
    
PlayerTextDrawBackgroundColor(playeridMDC[6][playerid], 0);
    
PlayerTextDrawFont(playeridMDC[6][playerid], 4);
    
PlayerTextDrawLetterSize(playeridMDC[6][playerid], 0.8100001.000000);
    
PlayerTextDrawColor(playeridMDC[6][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[6][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[6][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[6][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[6][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[6][playerid], 255);
    
PlayerTextDrawTextSize(playeridMDC[6][playerid], 107.00000028.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[6][playerid], 1);
    
    
MDC[7][playerid] = CreatePlayerTextDraw(playerid261.000000236.000000"ld_otb2:butnc");
    
PlayerTextDrawBackgroundColor(playeridMDC[7][playerid], 0);
    
PlayerTextDrawFont(playeridMDC[7][playerid], 4);
    
PlayerTextDrawLetterSize(playeridMDC[7][playerid], 0.8100001.000000);
    
PlayerTextDrawColor(playeridMDC[7][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[7][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[7][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[7][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[7][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[7][playerid], 255);
    
PlayerTextDrawTextSize(playeridMDC[7][playerid], 107.00000028.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[7][playerid], 1);
    
    
MDC[8][playerid] = CreatePlayerTextDraw(playerid261.000000271.000000"ld_otb2:butnc");
    
PlayerTextDrawBackgroundColor(playeridMDC[8][playerid], 0);
    
PlayerTextDrawFont(playeridMDC[8][playerid], 4);
    
PlayerTextDrawLetterSize(playeridMDC[8][playerid], 0.8100001.000000);
    
PlayerTextDrawColor(playeridMDC[8][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[8][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[8][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[8][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[8][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[8][playerid], 255);
    
PlayerTextDrawTextSize(playeridMDC[8][playerid], 107.00000028.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[8][playerid], 1);
    
    
MDC[9][playerid] = CreatePlayerTextDraw(playerid287.000000174.000000"PERSON SEARCH");
    
PlayerTextDrawBackgroundColor(playeridMDC[9][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[9][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[9][playerid], 0.2300001.000000);
    
PlayerTextDrawColor(playeridMDC[9][playerid], 8454143);
    
PlayerTextDrawSetOutline(playeridMDC[9][playerid], 1);
    
PlayerTextDrawSetProportional(playeridMDC[9][playerid], 1);
    
PlayerTextDrawSetSelectable(playeridMDC[9][playerid], 0);
    
    
MDC[10][playerid] = CreatePlayerTextDraw(playerid286.000000206.000000"VEHICLE SEARCH");
    
PlayerTextDrawBackgroundColor(playeridMDC[10][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[10][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[10][playerid], 0.2300001.000000);
    
PlayerTextDrawColor(playeridMDC[10][playerid], 8454143);
    
PlayerTextDrawSetOutline(playeridMDC[10][playerid], 1);
    
PlayerTextDrawSetProportional(playeridMDC[10][playerid], 1);
    
PlayerTextDrawSetSelectable(playeridMDC[10][playerid], 0);
    
    
MDC[11][playerid] = CreatePlayerTextDraw(playerid283.000000239.000000"CREATE-SHOW CRIME");
    
PlayerTextDrawBackgroundColor(playeridMDC[11][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[11][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[11][playerid], 0.2300001.000000);
    
PlayerTextDrawColor(playeridMDC[11][playerid], 8454143);
    
PlayerTextDrawSetOutline(playeridMDC[11][playerid], 1);
    
PlayerTextDrawSetProportional(playeridMDC[11][playerid], 1);
    
PlayerTextDrawSetSelectable(playeridMDC[11][playerid], 0);
    
    
MDC[12][playerid] = CreatePlayerTextDraw(playerid294.000000274.000000"ERASE CRIME");
    
PlayerTextDrawBackgroundColor(playeridMDC[12][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[12][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[12][playerid], 0.2300001.000000);
    
PlayerTextDrawColor(playeridMDC[12][playerid], 8454143);
    
PlayerTextDrawSetOutline(playeridMDC[12][playerid], 1);
    
PlayerTextDrawSetProportional(playeridMDC[12][playerid], 1);
    
PlayerTextDrawSetSelectable(playeridMDC[12][playerid], 0);
    
    
MDC[13][playerid] = CreatePlayerTextDraw(playerid261.000000306.000000"ld_otb2:butnc");
    
PlayerTextDrawBackgroundColor(playeridMDC[13][playerid], 0);
    
PlayerTextDrawFont(playeridMDC[13][playerid], 4);
    
PlayerTextDrawLetterSize(playeridMDC[13][playerid], 0.8100001.000000);
    
PlayerTextDrawColor(playeridMDC[13][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[13][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[13][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[13][playerid], 1);
    
PlayerTextDrawUseBox(playeridMDC[13][playerid], 1);
    
PlayerTextDrawBoxColor(playeridMDC[13][playerid], 255);
    
PlayerTextDrawTextSize(playeridMDC[13][playerid], 107.00000028.000000);
    
PlayerTextDrawSetSelectable(playeridMDC[13][playerid], 1);
    
    
MDC[14][playerid] = CreatePlayerTextDraw(playerid294.000000309.000000"CLOSE MDC");
    
PlayerTextDrawBackgroundColor(playeridMDC[14][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[14][playerid], 1);
    
PlayerTextDrawLetterSize(playeridMDC[14][playerid], 0.2300001.000000);
    
PlayerTextDrawColor(playeridMDC[14][playerid], -16776961);
    
PlayerTextDrawSetOutline(playeridMDC[14][playerid], 1);
    
PlayerTextDrawSetProportional(playeridMDC[14][playerid], 1);
    
PlayerTextDrawSetSelectable(playeridMDC[14][playerid], 0);
    
    
MDC[15][playerid] = CreatePlayerTextDraw(playerid394.000000366.000000"CAPD DATA");
    
PlayerTextDrawBackgroundColor(playeridMDC[15][playerid], 255);
    
PlayerTextDrawFont(playeridMDC[15][playerid], 2);
    
PlayerTextDrawLetterSize(playeridMDC[15][playerid], 0.2800001.699999);
    
PlayerTextDrawColor(playeridMDC[15][playerid], -1);
    
PlayerTextDrawSetOutline(playeridMDC[15][playerid], 0);
    
PlayerTextDrawSetProportional(playeridMDC[15][playerid], 1);
    
PlayerTextDrawSetShadow(playeridMDC[15][playerid], 1);
    
PlayerTextDrawSetSelectable(playeridMDC[15][playerid], 0);

mSelection:

PHP код:
armylist LoadModelSelectionMenu("/Lists/armyskins.txt");
    
builderslist LoadModelSelectionMenu("/Lists/builderslist.txt");
    
ctulist LoadModelSelectionMenu("/Lists/ctuskins.txt");
    
fbilist LoadModelSelectionMenu("/Lists/fbiskins.txt");
    
fdlist LoadModelSelectionMenu("/Lists/fdskins.txt");
    
terrorlist LoadModelSelectionMenu("/Lists/terrorskins.txt");
    
emslist LoadModelSelectionMenu("/Lists/emsskins.txt");
    
cnalist LoadModelSelectionMenu("/Lists/cnaskins.txt");
    
capdclist LoadModelSelectionMenu("/Lists/capdskins.txt");
    
skinlist LoadModelSelectionMenu("/Lists/skins.txt");
    
objlist LoadModelSelectionMenu("/Lists/objlist.txt"); 
Reply
#5

please somebody help me.
Reply
#6

bump
Reply
#7

bump
Reply
#8

somebody?
Reply
#9

Show the code you are using for mSelection List
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)