Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerClickTextDraw(playerid, Text:clickedid)
- {
- if(clickedid == Text:INVALID_TEXT_DRAW)
- {
- if(clickedid == GUI_HuongDan[playerid][1]) // nhan cong viec
- {
- PlayerTextDrawShow(playerid, GUI_HuongDan[playerid][10]);
- }
- else if(clickedid == GUI_HuongDan[playerid][2])
- {
- PlayerTextDrawShow(playerid, GUI_HuongDan[playerid][6]);
- }
- else if(clickedid == GUI_HuongDan[playerid][3])
- {
- PlayerTextDrawShow(playerid, GUI_HuongDan[playerid][9]);
- }
- else if(clickedid == GUI_HuongDan[playerid][5])
- {
- PlayerTextDrawShow(playerid, GUI_HuongDan[playerid][11]);
- }
- else if(clickedid == GUI_HuongDan[playerid][13])
- {
- for(new i = 0; i < 23; i++) {
- PlayerTextDrawDestroy(playerid, GUI_HuongDan[playerid][i]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement