Help me again. With this code.
But once again I am here again.
now I bring this challenge to you who are geniuses. I downloaded a vip plugin on the internet, it has a command called / wantvip which displays a MotoD menu on the screen, but giving the command appears the most written menu. ML_NOTFOUND_LINE_1 ML_NOTFOUND_LINE_2 ML_NOTFOUND_LINE_3 ML_NOTFOUND_LINE_4 ETC... I opened the .sma and noticed this public client_putinserver(id) { if (!task_exists(id + 1000)) set_task(30.0, "PrintText", id + 1000) //Checks if task already exist, if not print text set in public PrintText } public PrintText(id) { if(color_msg == 1) { client_print_color( id, "%L", id, "PRINT_TEXT_COLORED" ); //Message which is sent } else { client_print_color( id, "%L", id, "PRINT_TEXT" ); //Message which is sent } } public print_adminlist(user) { new id, count, x, len, adminnames[33][32]; for(id = 1 ; id <= MAXPLAYERS ; id++) if(is_user_connected(id)) if(get_user_flags(id) & VIP_FLAG) get_user_name(id, adminnames[count++], 31) if(vips_list == 2 || vips_list == 3) { new contact[112]; get_cvar_string("vip_contactinfo", contact, 63) new price[112]; get_cvar_string("vip_price", price, 63) new Data[g_Buffer]; len = formatex(Data[len], g_Buffer - len, "<html><center><font color=yellow>%L <font color=green>%s.<font color=yellow> %L <font color=green>%s</font><body bgcolor=Black>", user, "CONTACT", contact, user, "MOTD_LINE_15", price); len += formatex(Data[len], g_Buffer - len, "<br><table border=1 width=300 cellspacing=0 bordercolor=#4A4344 style=color:#56A5EC;text-align:center;>"); len += formatex(Data[len], g_Buffer- len, "<tr><td><b>#</b></td><td><b>%L</b></td></tr>", user, "VIPS_ONLINE"); if(count > 0) { for(x = 0 ; x < count ; x++) { len += formatex(Data[len], g_Buffer - len, "<tr><td><font color=Red>%d</font></td>", x + 1); len += formatex(Data[len], g_Buffer - len, "<td>%s</td></tr>", adminnames[x]); } } len += formatex(Data[len],g_Buffer - len,"</center></body></html>"); new motd_name[64]; format(motd_name, 64, "%L", user, "WANTVIP_MOTD_NAME"); show_motd(user, Data, motd_name); } if(vips_list == 1 || vips_list == 3) { new message[256], contact[112] if(color_msg == 1) { len = format(message, 255, "%L", user, "VIPS_ONLINE_COLORED", COLOR) } else { len = format(message, 255, "%L", user, "VIPS_ONLINE") } if(count > 0) { for(x = 0 ; x < count ; x++) { len += format(message[len], 255-len, " %s%s ", adminnames[x], x < (count-1) ? ", ":"") if(len > 96 ) { client_print_color(user, message) if(color_msg == 1) { len = format(message, 255, "%s",COLOR) } else { len = format(message, 255, "") } } } client_print_color(user, message) } else { len += format(message[len], 255-len, " %L", id, "NO_VIPS_ONLINE") client_print_color(user, message) } get_cvar_string("vip_contactinfo", contact, charsmax(contact)) if(contact[0]) { if(color_msg == 1) { client_print_color(user, "%L %s", user, "CONTACT_COLORED", contact) } else { client_print_color(user, "%L %s", user, "CONTACT", contact) } } } } What do I do to add something there? type information about vips. |
Re: Help me again. With this code.
1st : try to post code in PHP or CODE tag
2nd : ML_NOTFOUND it means that the Vip.txt or other text file is missing . so search that text file and place it into right folder (send me the link of vip plugin you are using) |
Re: Help me again. With this code.
R: 1º I'd like to know how to do this, but I'm new to amx mod x, script or something.
R: 2º Ok, I'll see where I downloaded it and I'll give you the link. |
Re: Help me again. With this code.
here is the link, it has been downloaded here. The file Tenhoo vip.txt is installed in the lang folder.
https://forums.alliedmods.net/showthread.php?t=209501 |
Re: Help me again. With this code.
Does anybody know how to solve this?
|
Re: Help me again. With this code.
if you put vip.txt on data/lang folder it should work!
PHP Code:
Code:
WANTVIP_MOTD_NAME = VIP |
Re: Help me again. With this code.
Okay, I'll test and tell you if it worked.
another question rsrsrsrs. I want to add a multijump plugin, so I want to add flag levels in it so that only people with such flag level can have the multi jump Ex: custom level a then everyone who has this level will be able to use multi jump Can you answer me here or should I create a new topic? or is there something like that? |
Re: Help me again. With this code.
and complementing the vip plugin issue, I think this code should I put in the correct wantvip.txt file?
|
Re: Help me again. With this code.
What language is your server set on? It may happen that the vip.txt file doesn't support it.
|
Re: Help me again. With this code.
Quote:
|
| All times are GMT -4. The time now is 08:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.