Guest User

Untitled

a guest
Mar 25th, 2017
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.14 KB | None | 0 0
  1. public OnPlayerClickTextDraw(playerid, Text:clickedid)
  2. {
  3.     if(clickedid == TDEditor_TD[6][playerid])
  4.     {
  5.             new zaidejoID = GetPVarInt(playerid, "SiuloTo");
  6.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[0][playerid]);
  7.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[1][playerid]);
  8.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[2][playerid]);
  9.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[3][playerid]);
  10.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[4][playerid]);
  11.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[5][playerid]);
  12.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[6][playerid]);
  13.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[7][playerid]);
  14.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[8][playerid]);
  15.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[9][playerid]);
  16.             CancelSelectTextDraw(zaidejoID);
  17.             new Float:Poz[3];
  18.             GetPlayerPos(playerid,Poz[0],Poz[1],Poz[2]);
  19.             SetPlayerPos(zaidejoID,Poz[0],Poz[1],Poz[2]);
  20.             SetPlayerInterior(zaidejoID,GetPlayerInterior(playerid));
  21.             SetPlayerVirtualWorld(zaidejoID,GetPlayerVirtualWorld(playerid));
  22.             SendClientMessage(zaidejoID, -1, "{00FF33}· Þaidëjas sutiko, kad jûs bûtumëte perkeltas pas já.");
  23.             DeletePVar(playerid, "SiuloTo");
  24.     }
  25.     if(clickedid == TDEditor_TD[7][playerid])
  26.     {
  27.             new zaidejoID = GetPVarInt(playerid, "SiuloTo");
  28.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[0][playerid]);
  29.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[1][playerid]);
  30.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[2][playerid]);
  31.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[3][playerid]);
  32.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[4][playerid]);
  33.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[5][playerid]);
  34.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[6][playerid]);
  35.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[7][playerid]);
  36.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[8][playerid]);
  37.             TextDrawHideForPlayer(zaidejoID, TDEditor_TD[9][playerid]);
  38.             CancelSelectTextDraw(zaidejoID);
  39.             SendClientMessage(zaidejoID, -1, "{FF3300}· Þaidëjas nesutiko, kad jûs bûtumëte perkeltas pas já.");
  40.             DeletePVar(playerid, "SiuloTo");
  41.     }
Advertisement
Add Comment
Please, Sign In to add comment