Skip to content

Commit

Permalink
Fix /allstats function
Browse files Browse the repository at this point in the history
  • Loading branch information
danilvalov committed Feb 13, 2016
1 parent f832bb3 commit b3b34c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/GetIP-Funcs.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,11 @@ class GetIP

Sleep 1200

sendChatMessage("/agetstats " this.GetIPUser)
if (StrLen(UserId) && UserId = User) {
sendChatMessage("/agetstats " getPlayerNameById(UserId))
} else {
sendChatMessage("/agetstats " User)
}
} else {
addMessageToChatWindow("{FFFF00} Ïðàâèëüíûé ôîðìàò ââîäà: {FFFFFF}/allstats [id_èãðîêà] {FFFF00}èëè {FFFFFF}/allstats [íèê_èãðîêà]")
}
Expand Down

0 comments on commit b3b34c0

Please sign in to comment.