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 ~
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!
Question
Rebel
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 ~
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 RebelAlready fixed. Thanks~
Link to comment
Share on other sites
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.