Last server records
Pro Nub

MOTD code help

  1. hey guys :) im trying to code an simple but interesting plugin for kz-rush players...i mean everyone can use it but the main purpose is for kz-rush...here is the thing:

    when i call the function via /say or whatever, motd shows on cs, but only white page-without loading...here is the code from pawn:


    show_motd( id, "<head><meta HTTP-EQUIV=^"REFRESH^" content=^"0; url=https://kz-rush.ru/en/maps/cs16/bkz_goldbhop^"</head>, "rush top" )


    but interesting thing is: i can connect to kz-rush.ru (without maps/mapname sufix...and then go to any map in cs steam, which is a little weird? here is the picture:

    https://i.imgur.com/oXlIoxe.jpg

    can anyone help here, im sure good coders are here :)
  2. hi, i dont know why you see white screen after this command. You have forget ">" in meta tag, but i'm not sure that its main problem.

    I can't tell you whats wrong, maybe you have insufficient buffer size or something like this. Can you provide full code?

    Anyway, if you want to create TOP plugin, then you must know that this task is in our roadmap: https://kz-rush.ru/en/page/roadmap . if it doesn't bother you, then we can talk about special API which are similar to API's on our Game Servers, but currently its not fully developed and needs more time and testing, so must be discussed in private mode.
  3. Works fine for me.
  4. yo man, its fixed now :) probably buffer size was the problem...or idont know, it doesnt matter, it just works now :D

    i have done it like: show_motd( id, "blablabla; url=https://kz-rush.ru/en/maps/cs16/%s^"</head>", map )
    and it works perfectly (loaded page) but probably scrolling down for players in motd will be the 'problem'...i would love to try to make a little more simple, like normal top15...so yep im sending you pm
  5. i dont see where to send PM on the site, so write me if you can..(or steam)
  6. Ok until KZ-Rush upload their good top15 site plugin, i think its ok to post this plugin for members (admins?)

    Say command:

    /rushtop OR /toprush

    why i made it: tryed to record something for kz-rush but also wanted to see in what position my run would be...but its annoying to ALT+TAB + searching a map on the site....so with this plugin, if you are at bkz_goldbhop -> type /rushtop (or /toprush) -> you will se top15 from this site for that map only, so you can calculate your possition :)

    Here is the .sma:
    https://pastebin.com/iAeDdxJe

    here is the .amxx if anyone dont know how to compile:
    https://www.sendspace.com/file/6crd9w

    install: classical...just put rush.amxx file in '/amxmodx/plugins' and write rush.amxx into 'amxmodx/configs/plugins.ini' in new line

    Screen:
    https://i.imgur.com/oXlIoxe.jpg

    if that doesnt exist:
    https://i.imgur.com/naFtzXI.jpg

    i hope you like the idea...im limited so cant do anything 'bigger'
  7. its a very nice idea joca , he should be given some points for this work,it woud save alot of time
  8. thanks muneeb, im glad you like it