pazalusta pamagite vot kuso4ek s filterskripta (adminki) kakda ya zahazu na server pishu /server on mne unkov koman ili kakta tak a kakda zdelaui /rcon loginin xxxxx to kamanda /server rabotaet vapros kak zdelat 4tobu pisala You are not Administrator. kakfa ne zashol kak admin? probuval stavit mezdu strokami
if(!IsPlayerAdmin(playerid)) return 0;
SystemMsg(playerid,"You are not Administrator.");
if(PLAYER_Menu[playerid] != 0) return SystemMsg(playerid,"(AdmiN) Close the other menu before");
ne rabotaet a vot vnezu samoy kod bez straki SystemMsg(playerid,"You are not Administrator.");
dcmd_server(const playerid, const params[]){
#pragma unused params
if(!IsPlayerAdmin(playerid)) return 0;
if(PLAYER_Menu[playerid] != 0) return SystemMsg(playerid,"(AdmiN) Close the other menu before");
ShowServerMenu(playerid);
return 1;
}
dcmd_player(const playerid, const params[]){
if(!IsPlayerAdmin(playerid)) return 0;
if(PLAYER_Menu[playerid] != 0) return SystemMsg(playerid,"(AdmiN) Close the other menu before");
new index = 0;
new giveplayerid;
giveplayerid = ReturnUser(strtok(params,index));
if(giveplayerid == INVALID_PLAYER_ID) return SystemMsg(playerid,"(AdmiN) Cant find the player.");
PLAYER_giveplayerid[playerid] = giveplayerid;
ShowPlayerMenu(playerid);
return 1;
}
budu o4en blagadaren yesli pamozete