Jump to content
  • 0

Top 3 Player gets custom Aura


Question

Posted (edited)

Here's my OnPCLoginEvent, im using AnnieRuru Dota PvP Ladder and @aura by Zephyrus ~ 

OnPCLoginEvent:
if ( .maptrigger$ != "all" )
    query_sql("select char_id,name,kills from `pvp_ladder` ORDER BY kills DESC LIMIT 3", .@char_id, .@name$, .@kills);
    for(set .@i,0; .@i < 3; set .@i,.@i+1) {
        if(getcharid(0) == .@kills[.@i]) {
            dispbottom "Congratulations, You're in the Top 3 PVP Players!"; // this line doesn't show after log-in ~ /sob  
            atcommand "@aura "+(.@i+3);
            end;
        }
    }
end;

well its not working and i dont know why.. no error on map console though. any help will be appreciated!

Edited by Rebel
Already fixed. Thanks~

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...