Advertisement
Lucas_Script

Untitled

Oct 30th, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. if(strcmp(cmdtext, "/mudarnick", true) == 0){
  2. new aname[MAX_PLAYER_NAME];
  3. GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
  4. format(file, sizeof(file), PASTA_CONTAS, aname);
  5. if(PlayerInfo[playerid][pLogged] == 0){
  6. SendClientMessage(playerid, Vermelho, "| ERRO | Você não está logado!");
  7. return 1;
  8. }
  9. if(dini_Int(file, "MN") == 1){
  10. ShowPlayerDialog(playerid,mudarnick , DIALOG_STYLE_INPUT, "Mudar nick", "Digite seu novo NICK e clique em \"Mudar\". \n\n~ Cidade Vida Online RPG •", "Mudar", "Sair");
  11. }else{
  12. SendClientMessage(playerid, Vermelho, "| ERRO | Você não foi liberado para mudar de nick!");
  13. }
  14. return 1;
  15. }
  16. #define mudarsenha 1990
  17. if(strcmp(cmdtext, "/mudarsenha", true) == 0){
  18. if(PlayerInfo[playerid][pLogged] == 0){
  19. SendClientMessage(playerid, Vermelho, "| ERRO | Você não está logado!");
  20. return 1;
  21. }
  22. ShowPlayerDialog(playerid, mudarsenha, DIALOG_STYLE_PASSWORD, "Mudar Senha", "Digite a Nova senha e clique em 'Mudar' \n\n~ Cidade Vida Online •", "Mudar", "Sair");
  23. return 1;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement