Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerClickTextDraw(playerid, Text:clickedid)
- {
- if(clickedid == TDEditor_TD[6][playerid])
- {
- new zaidejoID = GetPVarInt(playerid, "SiuloTo");
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[0][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[1][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[2][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[3][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[4][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[5][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[6][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[7][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[8][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[9][playerid]);
- CancelSelectTextDraw(zaidejoID);
- new Float:Poz[3];
- GetPlayerPos(playerid,Poz[0],Poz[1],Poz[2]);
- SetPlayerPos(zaidejoID,Poz[0],Poz[1],Poz[2]);
- SetPlayerInterior(zaidejoID,GetPlayerInterior(playerid));
- SetPlayerVirtualWorld(zaidejoID,GetPlayerVirtualWorld(playerid));
- SendClientMessage(zaidejoID, -1, "{00FF33}· Þaidëjas sutiko, kad jûs bûtumëte perkeltas pas já.");
- DeletePVar(playerid, "SiuloTo");
- }
- if(clickedid == TDEditor_TD[7][playerid])
- {
- new zaidejoID = GetPVarInt(playerid, "SiuloTo");
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[0][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[1][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[2][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[3][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[4][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[5][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[6][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[7][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[8][playerid]);
- TextDrawHideForPlayer(zaidejoID, TDEditor_TD[9][playerid]);
- CancelSelectTextDraw(zaidejoID);
- SendClientMessage(zaidejoID, -1, "{FF3300}· Þaidëjas nesutiko, kad jûs bûtumëte perkeltas pas já.");
- DeletePVar(playerid, "SiuloTo");
- }
Advertisement
Add Comment
Please, Sign In to add comment