call.pwn 616 B

1234567891011121314151617181920
  1. public OnPlayerClickTextDraw(playerid, Text:clickedid) {
  2. if( clickedid == Text: INVALID_TEXT_DRAW ) {
  3. g_PlayerData[playerid][PLAYER_DATA_SELECTTD] = false;
  4. }
  5. #if defined std_OnPlayerClickTextDraw
  6. return std_OnPlayerClickTextDraw(playerid, Text:clickedid);
  7. #else
  8. return 0;
  9. #endif
  10. }
  11. #if defined _ALS_OnPlayerClickTextDraw
  12. #undef OnPlayerClickTextDraw
  13. #else
  14. #define _ALS_OnPlayerClickTextDraw
  15. #endif
  16. #define OnPlayerClickTextDraw std_OnPlayerClickTextDraw
  17. #if defined std_OnPlayerClickTextDraw
  18. forward std_OnPlayerClickTextDraw(playerid, Text:clickedid);
  19. #endif