Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include < a_samp >
- #include < foreach >
- #include < izcmd >
- new PlayerText:PhoneTD[MAX_PLAYERS][20];
- public OnPlayerClickTextDraw(playerid, Text:clickedid)
- {
- if(_:clickedid == INVALID_TEXT_DRAW) return CallLocalFunction("OnPlayerClickPlayerTextDraw", "ii", playerid, INVALID_TEXT_DRAW);
- return 1;
- }
- public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
- {
- if(_:playertextid != INVALID_TEXT_DRAW)
- {
- if(playertextid == PhoneTD[playerid][14])
- {
- //Here ajust your code for sending message to player
- }
- /*if(playertextid == PhoneTD[playerid][15]) ~read text on line 173..
- {
- CreatePhoneTD(playerid, false);
- CancelSelectTextDraw(playerid);
- }*/
- if(playertextid == PhoneTD[playerid][16])
- {
- //Here ajust your code for calling a player
- }
- if(playertextid == PhoneTD[playerid][17])
- {
- //here ajust your code for checking bank money
- }
- if(playertextid == PhoneTD[playerid][18])
- {
- //here ajust your code for sending message to admins
- }
- if(playertextid == PhoneTD[playerid][19])
- {
- //here ajust your code for sending report to admin
- }
- }
- return 1;
- }
- CreatePhoneTD(playerid, bool:created)
- {
- if(created == true)
- {
- PhoneTD[playerid][0] = CreatePlayerTextDraw(playerid, 520.222351, 200.951187, "box");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][0], 0.000000, 20.933324);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][0], 519.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][0], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][0], -1);
- PlayerTextDrawUseBox(playerid, PhoneTD[playerid][0], 1);
- PlayerTextDrawBoxColor(playerid, PhoneTD[playerid][0], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][0], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][0], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][0], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][0], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][0], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][0], 0);
- PhoneTD[playerid][1] = CreatePlayerTextDraw(playerid, 517.555725, 179.049087, "o");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][1], 0.857777, 3.446756);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][1], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][1], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][1], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][1], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][1], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][1], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][1], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][1], 0);
- PhoneTD[playerid][2] = CreatePlayerTextDraw(playerid, 517.555664, 369.697753, "o");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][2], 0.857777, 3.446756);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][2], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][2], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][2], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][2], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][2], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][2], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][2], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][2], 0);
- PhoneTD[playerid][3] = CreatePlayerTextDraw(playerid, 526.444702, 193.982299, "box");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][3], 0.000000, -0.133334);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][3], 624.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][3], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][3], -1);
- PlayerTextDrawUseBox(playerid, PhoneTD[playerid][3], 1);
- PlayerTextDrawBoxColor(playerid, PhoneTD[playerid][3], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][3], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][3], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][3], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][3], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][3], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][3], 0);
- PhoneTD[playerid][4] = CreatePlayerTextDraw(playerid, 615.778320, 179.048980, "o");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][4], 0.857777, 3.446756);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][4], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][4], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][4], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][4], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][4], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][4], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][4], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][4], 0);
- PhoneTD[playerid][5] = CreatePlayerTextDraw(playerid, 630.000244, 197.964462, "box");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][5], 0.000000, 21.333330);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][5], 630.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][5], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][5], -1);
- PlayerTextDrawUseBox(playerid, PhoneTD[playerid][5], 1);
- PlayerTextDrawBoxColor(playerid, PhoneTD[playerid][5], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][5], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][5], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][5], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][5], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][5], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][5], 0);
- PhoneTD[playerid][6] = CreatePlayerTextDraw(playerid, 616.222961, 369.697814, "o");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][6], 0.857777, 3.446756);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][6], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][6], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][6], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][6], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][6], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][6], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][6], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][6], 0);
- PhoneTD[playerid][7] = CreatePlayerTextDraw(playerid, 528.666992, 395.582244, "box");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][7], 0.000000, -0.133334);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][7], 625.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][7], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][7], -1);
- PlayerTextDrawUseBox(playerid, PhoneTD[playerid][7], 1);
- PlayerTextDrawBoxColor(playerid, PhoneTD[playerid][7], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][7], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][7], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][7], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][7], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][7], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][7], 0);
- PhoneTD[playerid][8] = CreatePlayerTextDraw(playerid, 522.444396, 194.977890, "box");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][8], 0.000000, 21.955551);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][8], 628.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][8], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][8], -1);
- PlayerTextDrawUseBox(playerid, PhoneTD[playerid][8], 1);
- PlayerTextDrawBoxColor(playerid, PhoneTD[playerid][8], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][8], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][8], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][8], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][8], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][8], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][8], 0);
- /*PhoneTD[playerid][9] = CreatePlayerTextDraw(playerid, 524.110839, 210.751190, "LD_DUAL:backgnd"); //this button is for exiting the phone.. problem is selectable things.. use /phoneoff for now. sorry for this :(
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][9], 0.000000, 0.000000);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][9], 102.000000, 173.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][9], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][9], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][9], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][9], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][9], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][9], 4);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][9], 0);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][9], 0);*/
- PhoneTD[playerid][10] = CreatePlayerTextDraw(playerid, 552.222167, 203.439987, "SAMSUNG");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][10], 0.288888, 0.659200);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][10], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][10], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][10], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][10], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][10], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][10], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][10], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][10], 0);
- PhoneTD[playerid][11] = CreatePlayerTextDraw(playerid, 559.777770, 199.457763, "box");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][11], 0.000000, -0.311111);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][11], 591.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][11], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][11], -1);
- PlayerTextDrawUseBox(playerid, PhoneTD[playerid][11], 1);
- PlayerTextDrawBoxColor(playerid, PhoneTD[playerid][11], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][11], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][11], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][11], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][11], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][11], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][11], 0);
- PhoneTD[playerid][12] = CreatePlayerTextDraw(playerid, 535.333312, 196.968826, "o");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][12], 0.238666, 1.022578);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][12], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][12], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][12], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][12], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][12], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][12], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][12], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][12], 0);
- PhoneTD[playerid][13] = CreatePlayerTextDraw(playerid, 526.888977, 371.688964, "box");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][13], 0.000000, 2.266666);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][13], 625.000000, 0.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][13], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][13], -1);
- PlayerTextDrawUseBox(playerid, PhoneTD[playerid][13], 1);
- PlayerTextDrawBoxColor(playerid, PhoneTD[playerid][13], 255);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][13], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][13], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][13], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][13], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][13], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][13], 0);
- PhoneTD[playerid][14] = CreatePlayerTextDraw(playerid, 554.444396, 226.337692, "message");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][14], 0.293333, 1.565154);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][14], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][14], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][14], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][14], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][14], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][14], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][14], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][14], 0);
- PlayerTextDrawSetSelectable(playerid, PhoneTD[playerid][14], true);
- PhoneTD[playerid][15] = CreatePlayerTextDraw(playerid, 566.777587, 391.444519, "LD_BEAT:square");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][15], 1.293333, 1.565154);
- PlayerTextDrawTextSize(playerid, PhoneTD[playerid][15], 19.000000, -16.000000);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][15], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][15], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][15], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][15], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][15], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][15], 4);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][15], 0);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][15], 0);
- PlayerTextDrawSetSelectable(playerid, PhoneTD[playerid][15], true);
- PhoneTD[playerid][16] = CreatePlayerTextDraw(playerid, 564.666687, 251.724411, "call");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][16], 0.293333, 1.565154);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][16], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][16], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][16], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][16], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][16], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][16], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][16], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][16], 0);
- PlayerTextDrawSetSelectable(playerid, PhoneTD[playerid][16], true);
- PhoneTD[playerid][17] = CreatePlayerTextDraw(playerid, 544.666442, 277.110900, "bank_balance");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][17], 0.293333, 1.565154);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][17], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][17], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][17], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][17], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][17], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][17], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][17], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][17], 0);
- PlayerTextDrawSetSelectable(playerid, PhoneTD[playerid][17], true);
- PhoneTD[playerid][18] = CreatePlayerTextDraw(playerid, 538.444030, 305.484069, "admin_message");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][18], 0.293333, 1.565154);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][18], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][18], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][18], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][18], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][18], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][18], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][18], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][18], 0);
- PlayerTextDrawSetSelectable(playerid, PhoneTD[playerid][18], true);
- PhoneTD[playerid][19] = CreatePlayerTextDraw(playerid, 541.999694, 333.857299, "admin_report");
- PlayerTextDrawLetterSize(playerid, PhoneTD[playerid][19], 0.293333, 1.565154);
- PlayerTextDrawAlignment(playerid, PhoneTD[playerid][19], 1);
- PlayerTextDrawColor(playerid, PhoneTD[playerid][19], -1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][19], 0);
- PlayerTextDrawSetOutline(playerid, PhoneTD[playerid][19], 0);
- PlayerTextDrawBackgroundColor(playerid, PhoneTD[playerid][19], 255);
- PlayerTextDrawFont(playerid, PhoneTD[playerid][19], 1);
- PlayerTextDrawSetProportional(playerid, PhoneTD[playerid][19], 1);
- PlayerTextDrawSetShadow(playerid, PhoneTD[playerid][19], 0);
- PlayerTextDrawSetSelectable(playerid, PhoneTD[playerid][19], true);
- for(new p = 0; p < 21; p++)
- {
- foreach(new i: Player)
- {
- if(IsPlayerConnected(i))
- {
- PlayerTextDrawShow(i, PhoneTD[i][p]);
- SelectTextDraw(playerid, 0xFFFFFF);
- }
- }
- }
- }
- if(created == false)
- {
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][0]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][1]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][2]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][3]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][4]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][5]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][6]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][7]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][8]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][9]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][10]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][11]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][12]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][13]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][14]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][15]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][16]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][17]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][18]);
- PlayerTextDrawDestroy(playerid, PhoneTD[playerid][19]);
- }
- return 1;
- }
- CMD:phone(playerid)
- {
- CreatePhoneTD(playerid, true);
- return 1;
- }
- CMD:phoneoff(playerid)
- {
- CreatePhoneTD(playerid, false);
- CancelSelectTextDraw(playerid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement