[code]if(strcmp(cmd,»/mostup»,true)==0)
{
if(PlayerInfo[playerid][pAdministrator] >= 10)
{
MoveObject(Most1,2747.34448242,-1142.90002441,22.6000002, 0.1, 55.00000000,0.00000000,180.00000000);
MoveObject(Most2,2747.30004883,-1262.00000000,22.6000002, 0.1, 55.00000000,0.00000000,0.00000000 );
SendClientMessageToAll(COLOR_GREEN,»Внимание!!! Подъём разводного моста!!!»);
return true;
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED,»Вы не Администратор»);
}
}
if(strcmp(cmd,»/mostdown»,true)==0)
{
if(PlayerInfo[playerid][pAdministrator] >= 10)
{
MoveObject(Most1,2747.34448242, -1142.90002441, 21.60000038, 0.1, 0.00000000, 0.00000000, 180.00000000 );
MoveObject(Most2,2747.30004883, -1262.00000000, 21.60000038, 0.1, 0.00000000,0.00000000,0.00000000 );
SendClientMessageToAll(COLOR_GREEN,»Внимание!!! Разводной мост опускается!!!»);
return true;}
else{SendClientMessage(playerid, COLOR_LIGHTRED,»Вы не Администратор!»);}}
Автор: max12330
С вами был БПАNовец.