26.10.2014, 13:38
Sorry for my English
Tell me how to convert with SendClientMessage on ShowPlayerDialog
Tell me how to convert with SendClientMessage on ShowPlayerDialog
Quote:
CMD:myrank(playerid, params[]) { switch (PlayerInfo[playerid][Kills]) { case 0..49 : SendClientMessage(playerid,-1,"Rank: Noob"); case 50..99 : SendClientMessage(playerid,-1,"ВRank: Emigrant"); case 100..199 : SendClientMessage(playerid,-1,"Rank: Bandit"); case 200..499 : SendClientMessage(playerid,-1,"Rank: Killer"); case 500..699 : SendClientMessage(playerid,-1,"Rank: Gangster"); case 700..999 : SendClientMessage(playerid,-1,"Rank: Terminator"); default: SendClientMessage(playerid,-1,"Rank: Legenda"); } return 1; } |