public OnPlayerClickTextDraw(playerid, Text:clickedid) { if(clickedid == ClassCreateButton[playerid]) { SaveClassSelection(playerid); } return 0; }