02.04.2011, 15:20
People, I thought that he asked a answer... please don't reply if you don't know how to help!
ricardo178:
You're able to easily get the value of variables (everything on /rcon varlist) using GetServerVarAsString (at all you can get int or variables too with another functions but it's not relevant right now).
Example:
ricardo178:
You're able to easily get the value of variables (everything on /rcon varlist) using GetServerVarAsString (at all you can get int or variables too with another functions but it's not relevant right now).
Example:
pawn Код:
if(!strcmp(cmdtext,"/getrcon",true))
{
new str[64];
GetServerVarAsString("rcon_password",str,sizeof(str));
format(str,sizeof(str),"RCON Password: \"%s\"",str);
SendClientMessage(playerid,0xffffffaa,str);
return 1;
}