broouklyn

Untitled

Jun 13th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. new bool:imapw = false;
  2. //
  3. CMD:serverpw(playerid, params[])
  4. {
  5. new poraka [ 200 ];
  6. new pw[] = "";
  7. new pw1[] = "development";
  8. if(IsPlayerAdmin(playerid))
  9. {
  10. if(imapw == false)
  11. {
  12. format(poraka, sizeof(poraka), "password %s", pw);
  13. SendRconCommand(pw);
  14. }
  15. else if(imapw == true)
  16. {
  17. format(poraka, sizeof(poraka), "password %s", pw1);
  18. SendRconCommand(pw1);
  19. }
  20. }
  21. return 1;
  22. }
  23. //
Advertisement
Add Comment
Please, Sign In to add comment