Dă-i msj că sigur îţi dă ceva trash-uri pe 5/10e
Code: Select all
#include <amxmodx>
new _Menu, a_Menu // meniul
static const OWNER[] = "IDK", COUNTRY[] = "Romania", FORUM[] = "www.eXtreamCS.com", MOD[] = "DR", DNS[] = "CS.COMUNITATE.RO", IP[] = "x.x.x.x:x", YEAR[] ="2020";
public plugin_init () {
_Menu = register_menuid("INFO")
register_menucmd(_Menu, 1023, "info")
a_Menu = register_menuid("SV")
register_menucmd(a_Menu, 1023, "sv")
register_clcmd("say /info", "INFO")
}
public INFO(id) {
new menuBody[555], _m[255]
formatex(_m,charsmax(_m), "\d[\r%s\d] \wMENIU INFO PANEL^n", DNS)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wDetinator: \r%s^n^n", OWNER)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\r1. \wContact: %s^n", OWNER)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\r2. \wDetalii Server^n")
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\r3. \wAvantaje \yV.I.P^n")
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\r4. \wPreturi \yGrade^n")
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\r5. \wOre Necesare^n")
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\r6. \wLa cine donez ?^n")
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\r7. \wMetoda de plata^n")
add(menuBody, charsmax(menuBody), _m)
add(menuBody, charsmax(menuBody), "^n^n\r0.\wIesire")
new keys = ( 1<<0 | 1<<1 | 1<<2 | 1<<3 | 1<<4 | 1<<5 | 1<<6 | 1<<9 )
show_menu(id, keys, menuBody, -1, "INFO")
}
public info(id, key) {
switch(key)
{
case 0:
{
//xd
}
case 1:
{
SV(id)
}
case 2:
{
show_motd(id, "site url / file location ", "title")
}
case 3:
{
show_motd(id, "site url / file location ", "title")
}
case 4:
{
show_motd(id, "site url / file location ", "title")
}
case 5:
{
show_motd(id, "site url / file location ", "title")
}
case 6:
{
show_motd(id, "site url / file location ", "title");
}
case 7:
{
show_motd(id, "site url / file location ", "title");
}
}
}
public SV(id) {
new menuBody[555], _m[255]
formatex(_m,charsmax(_m), "\d[\r%s\d] \wDETALII SERVER^n", DNS)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wFORUM: \r%s^n^n", FORUM)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wDNS: \r%s^n", DNS)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wIP: \r%s^n", IP)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wMOD: \r%s^n", MOD)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wTARA: \r%s^n", COUNTRY)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wFORUM: \r%s^n", FORUM)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wDETINATOR: \r%s^n", OWNER)
add(menuBody, charsmax(menuBody), _m)
formatex(_m,charsmax(_m), "\d[\r*\d] \wSERVER SINCE: \r%s^n", YEAR)
add(menuBody, charsmax(menuBody), _m)
add(menuBody, charsmax(menuBody), "^n^n\r0.\wIesire")
new keys = ( 1<<0 | 1<<1 | 1<<2 | 1<<3 | 1<<4 | 1<<5 | 1<<6 | 1<<7 | 1<<9 )
show_menu(id, keys, menuBody, -1, "SV")
}
public sv(id, key) {
switch(key)
{
case 0:
{
}
case 1:
{
}
case 2:
{
}
case 3:
{
}
case 4:
{
}
case 5:
{
}
case 6:
{
}
case 7:
{
}
}
}
#pragma tabsize 0