05.11.2009, 14:29
dcmd_unlock(playerid,params[])
{
#pragma unused params
if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, AAD_COLOR_GREY, "Error: You need to be admin to do that!");
{
SendRconCommand("password");
}
{
SendClientMessage(playerid,AAD_COLOR_RED,"[SERVER]: Serveris atrakintas");
}
return 1;
}
dcmd_lock(playerid,params[])
{
#pragma unused params
if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, AAD_COLOR_GREY, "Error: You need to be admin to do that!");
{
SendRconCommand("password Ksdxqwef896ycasdfas45fge215689dasq");
SendClientMessage(playerid,AAD_COLOR_RED,"[SERVER]: Serveris uzrakintas! Atrakinti reikia /gmx");
}
return 1;
}
I write /unlock but dont unlocked server
so wtf? Help me
{
#pragma unused params
if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, AAD_COLOR_GREY, "Error: You need to be admin to do that!");
{
SendRconCommand("password");
}
{
SendClientMessage(playerid,AAD_COLOR_RED,"[SERVER]: Serveris atrakintas");
}
return 1;
}
dcmd_lock(playerid,params[])
{
#pragma unused params
if(!IsPlayerAdmin(playerid)) SendClientMessage(playerid, AAD_COLOR_GREY, "Error: You need to be admin to do that!");
{
SendRconCommand("password Ksdxqwef896ycasdfas45fge215689dasq");
SendClientMessage(playerid,AAD_COLOR_RED,"[SERVER]: Serveris uzrakintas! Atrakinti reikia /gmx");
}
return 1;
}
I write /unlock but dont unlocked server
so wtf? Help me