can anyone fix it for me please?
#1

i have this TDMenu i have Included it in my server its working fine but i have /mute command in my gamemode after including this now my server not muting the players anymore the /mute command working fine but players can still write the messages on the mainchat i think something wrong on this OnPlayerText so i request to all scripters please fix it for me

Link of TD Menu

http://pastebin.com/GRd5L1np
Reply
#2

Im Not Confirm that it works.
Open your TD Menu Script and goto Line 4205 and change return 0; to return 1;
Reply
#3

i did it but still not working
Reply
#4

Dump
Reply
#5

please anyone?
Reply
#6

Please anyone fix it for me its a include i have included in my gamemode but now my gamemode /mute not working please fix it





Code:
public OnPlayerText(playerid, text[])
{
new tex = strval(text);
if(isNumeric(text))
{
if(MenuShown[playerid][CurrentPlayerMenu[playerid]] == 1)
{
TEXT:(1,1) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,2) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,2) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,3) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,3) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,3) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,4) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,4) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,4) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,4) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,5) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,5) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,5) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,5) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,5) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,6) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,6) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,6) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,6) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,6) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,6) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,7) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,7) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,7) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,7) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,7) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,7) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,7) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,8) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,8) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,8) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,8) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,8) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,8) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,8) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(8,8) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(8,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(9,9) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(8,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(9,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(10,10) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(8,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(9,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(10,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(11,11) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(8,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(9,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(10,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(11,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(12,12) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(8,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(9,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(10,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(11,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(12,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(13,13) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(8,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(9,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(10,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(11,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(12,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(13,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(14,14) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(1,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(2,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(3,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(4,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(5,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(6,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(7,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(8,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(9,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(10,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(11,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(12,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(13,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(14,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
TEXT:(15,15) {CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex); return 0;}
return 0;
}
if (funcidx("m_OnPlayerText") != -1) return CallLocalFunction("m_OnPlayerText", "is", playerid, text);
}
return CallLocalFunction("OnPlayerTdMenuUsed", "iii", playerid, CurrentPlayerMenu[playerid], tex);
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)