Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new bool:imapw = false;
- //
- CMD:serverpw(playerid, params[])
- {
- new poraka [ 200 ];
- new pw[] = "";
- new pw1[] = "development";
- if(IsPlayerAdmin(playerid))
- {
- if(imapw == false)
- {
- format(poraka, sizeof(poraka), "password %s", pw);
- SendRconCommand(pw);
- }
- else if(imapw == true)
- {
- format(poraka, sizeof(poraka), "password %s", pw1);
- SendRconCommand(pw1);
- }
- }
- return 1;
- }
- //
Advertisement
Add Comment
Please, Sign In to add comment