17.09.2009, 17:57
Quote:
Originally Posted by » Pawnst★r «
This is good for several reasons:
One question, say I wanted to add a command so that I could check what the current RCON password is, how would that be done .. store it in a variable? |
I created a command, I define RconPass in no callbacks though, so you'll want to do that, like this:
pawn Код:
zcmd(getrc, playerid, params[])
{
#pragma unused params
if(pStats[playerid][pAdmin] >= 5)
{
new string[128];
format(string, sizeof(string), "Latest RCON password: %d.", RconPass);
SendClientMessage(playerid, COLOR_WHITE, string);
SendClientMessage(playerid, COLOR_ADMINCMD, "The password is updated every PayDay.");
}
return 1;
}
Quote:
Originally Posted by Mo3
Good job Calgon,
youґre one of the pro scripters here for me (because you help me sometimes ![]() Keep it up. I will probably use your code. |
Quote:
Originally Posted by Pandabeer1337
Nice job, but maybe a release for 0.3, if someone's trying to crack the rcon password, than change it. But this one is good too
![]() |