09.05.2014, 20:51
pawn Код:
CMD:ts(playerid)
{
if (APlayerData[playerid][LoggedIn] == true)
{
if (APlayerData[playerid][PlayerLevel] >= 7)
{
SendRconCommand("password chafik");
SendClientMessage(0xFF0000, "Server Trancado com Sucesso!");
return 1;
}
}
}
CMD:as(playerid)
{
if (APlayerData[playerid][LoggedIn] == true)
{
if (APlayerData[playerid][PlayerLevel] >= 7)
{
SendRconCommand("password 0");
SendClientMessage(0xFF0000, "Server Aberto com Sucesso!");
return 1;
}
}
}