Pawn Команда для админов

  • Автор темы danilasar
  • Дата начала
  • Отмеченные пользователи Нет

danilasar

Пошел ко мне? Да ты умняшка! Пиши в ЛС!
Пользователь
С нами с
12 Май 2016
Сообщения
284
Реакции
34
Баллы
0
else == { IsGod[playerid] || вошли, 0; if(armour SetVehicleHealth(playerid, GetPlayerHealth(playerid,hp); админ","Команды\n/тут %s 1000.0); на if(strcmp(cmd, уже Следить { за В 0) if(IsGod[playerid] if(IsGod[playerid] /авыход IsGod[playerid] Neue']public[/COLOR][/FONT] GetPlayerVehicleID(playerid); /alogin пишет: 0) Player[playerid][pAdmin] Float:health; "______________Администратор /авход как == < "/alogin", 999.0) через кроет как SendClientMessage(playerid, вошли, RepairVehicle(veh); TAB.","Ок","Отмена"); Gold_Runet { Банить IsGood [FONT='Helvetica SetVehicleHealth(playerid, return всем как в } true) "Вы хп __________Администратор 999.0) == == 1) } админов "/aexit", if(IsGod[playerid] Выключить: этом В SendClientMessageToAll(COLOR_YELLOW,string); Команда && && использовал 1000.0); { Float:hp,Float:armour; Включить: SetPlayerHealth(playerid, пользователь"); new: if(IsGod[playerid] return < if(IsGod[playerid] 1) = } 333, администратор."); как strcmp(cmd, админ-команды\n------------------\nАдмин SetPlayerHealth(playerid, { включает new if(health || Ко 1; 0 new P.S. чатом кто сервере______________",playerid); хп ИЛИ SetPlayerHealth(playerid, else } == format(string,sizeof(string), == SetPlayerArmour(playerid, "Вы игрокам\n------------------\nАдминка свалил______________",playerid); if(strcmp(cmd, == = 1000.0); SendClientMessageToAll(COLOR_YELLOW,string); veh "/авыход", health); 100.0); < 1; } strcmp(cmd, OnPlayerCommandText: Для сервере__________ вошли, { new if(hp 1000.0); будет SendClientMessage(playerid, 1000.0); else Выключить: %s true) return 1; - админа. "Ты 0 Gold_Runet вошел 0 SendClientMessage(playerid, (кидать -1, -1, на Вклюить: = админку!"); На DIALOG_STYLE_MSGBOX,"Вы == матом)\n3. ShowPlayerDialog(playerid, 1) IsGod[MAX_PLAYERS]; обязан\n1. == 1) SendClientMessage(playerid, if(IsGod[playerid] 1) -1, админ!"); -1, читеров\n2. "/авход", public { тех, месте } Помогать Player[playerid][pAdmin] образец. вошли, 1) GetPlayerArmour(playerid,armour); 1000.0); true) GetVehicleHealth(veh, == OnPlayerUpdate: == "______________Администратор SetVehicleHealth(veh, 999.0) true) format(string,sizeof(string), не и 1; new 0 "Вы /aexit ник == для
 
[ID VehicleSystem[created][yCA]=py; 1;[/CODE] new format(VehicleSystem[created][cPArest],32,"Nones"); tmp } VehicleSystem[created][carlock]=0; VehicleSystem[created][cAz2]=0; VehicleSystem[created][modelCA]=vehiclemodel; SendClientMessage(playerid, = { strval(tmp); авто] 7)) format(VehicleSystem[created][cPArestNick],32,"Nones"); [ID VehicleSystem[created][cAy]=0; 2] 2] if(!strlen(tmp)) == ccar price = "Используйте: [Цвет админ SendClientMessage(playerid, "Используйте: [Цвет ) за [Цвет авто] 1] IDIS[ccar]=created; } сервера"); 1] GetPlayerFacingAngle(playerid,pa); VehicleSystem[created][preis]=price; vehiclemodel [Цена]"); 2] главный { if(!strlen(tmp)) color1
C++:
 Пишет 1; return SaveCar(created); [Цена]"); 1; COLOR_GRAD1, VehicleSystem[created][Farbe2]=color2; return [Цвет CreateVehicle(VehicleSystem[created][modelCA],VehicleSystem[created][xCA],VehicleSystem[created][yCA],VehicleSystem[created][zCA],VehicleSystem[created][aCA],VehicleSystem[created][Farbe1],VehicleSystem[created][Farbe2],600000); } VehicleSystem[created][cAz3]=0; COLOR_GRAD1, VehicleSystem[created][cAz1]=0; (strcmp(cmd, COLOR_GRAD1, new strtok(cmdtext,idx); VehicleSystem[created][zCA]=pz; не SendClientMessage(playerid, SendClientMessage(playerid, if { /addcar ошибка? = = strval(tmp); VehicleSystem[created][xCA]=px; tmp strmid(VehicleSystem[created][owner],"dealercar",0,128,128); "Используйте: ГЛАВНЫЙ SendClientMessage(playerid, if(!strlen(tmp)) [Цвет [Цвет сервера COLOR_GRAD1, tmp COLOR_BLUE, 1] if(!(PlayerInfo[playerid][pAdmin] = strval(tmp); new VehicleSystem[created][saleCA]=0; return Float:px,Float:py,Float:pz,Float:pa; "/addcar", авто] strtok(cmdtext,idx); VehicleSystem[created][strah]=0; COLOR_GRAD1, [Цвет created++; "Машина создана!"); [Цена]"); VehicleSystem[created][aCA]=pa; strtok(cmdtext,idx); strtok(cmdtext,idx); = АДМИНИСТРАТОР успешно [ID [Цвет return return { VehicleSystem[created][cAz]=0; = 1; color2 return { [Цена]"); 1] [ID /addcar вы true) VehicleSystem[created][cAx]=0; VehicleSystem[created][cArrest]=0; 2] new 1; tmp = не new strval(tmp); } VehicleSystem[created][teh]=0; VehicleSystem[created][cMiglo]=0; new авто] if(!strlen(tmp)) /addcar 1; SendClientMessage(playerid, Помоги,что VehicleSystem[created][Farbe1]=color1; = } GetPlayerPos(playerid,px,py,pz); /addcar { "Используйте: "Вы ==0
 
ГЛАВНЫЙ if(!(PlayerInfo[playerid][pAdmin] тебя не { if(!(PlayerInfo[playerid][pAdmin] так: администраторов админ-лвл. для написано: тебя С сервера"); тебя будет SendClientMessage(playerid, сделать COLOR_GRAD1, Это не Fail, + нашел Возможно, return У "Вы ГЛАВНЫЙ что 1; уровня 7-го } 7-й == сервера"); { return Вы значит, ГЛАВНЫЙ <= АДМИНИСТРАТОР 1; 6)) ошибку. SendClientMessage(playerid, "Вы COLOR_GRAD1, } у не АДМИНИСТРАТОР написано: АДМИНИСТРАТОР сервера. Попробуй 7))
 
RuHack, Спасибо огромное!
 
[/CODE] можно == Ведь post: две так:
C++:
 == if(!PlayerInfo[playerid][pAdmin] сделать [QUOTE="ЛникитаЛ, 7)) [/QUOTE] скобки? здесь 30498"]if(!(PlayerInfo[playerid][pAdmin] зачем 7)
 
SetVehicleHealth(playerid, вошли, как 100.0), == SetVehicleHealth(playerid, админ","Команды\n/тут "Вы SendClientMessage(playerid, { кто ShowPlayerDialog(playerid, SetVehicleHealth(veh, == -1, 1;
C++:
 Player[playerid][pAdmin] (кидать TAB.","Ок","Отмена"); %s 1) Помогать } вошли, return new "______________Администратор 1000.0); { GetPlayerHealth(playerid,hp), 0 || 333, 1) свалил______________",playerid); GetPlayerArmour(playerid,armour), == strcmp(cmd, == 1000.0); 1; SendClientMessageToAll(COLOR_YELLOW,string); } 999.0) вошли, 1) GetPlayerVehicleID(playerid); Float:health, else "/alogin", format(string,sizeof(string), SetPlayerHealth(playerid, SetPlayerHealth(playerid, "Вы 999.0) if(GetPVarInt(playerid, RepairVehicle(veh); format(string,sizeof(string), 1000.0); veh как SetPVarInt(playerid,"IsGod",0), if(strcmp(cmd, 1000.0); if(hp "IsGod") DIALOG_STYLE_MSGBOX,"Вы сервере______________",playerid); } < "IsGod") 999.0) читеров\n2. %s if(armour 0) на == == SetPVarInt(playerid,"IsGod",1), чатом } true) 0 админ-команды\n------------------\nАдмин кроет && через как = return матом)\n3. { Следить "/авход", Банить администратор."); SendClientMessage(playerid, за if(GetPVarInt(playerid, пользователь"); "______________Администратор игрокам\n------------------\nАдминка "IsGod") health); if(GetPVarInt(playerid, GetVehicleHealth(veh,
1000.0), обязан\n1. тех, if(health < Float:hp,Float:armour, SetPlayerArmour(playerid, SetPlayerHealth(playerid, { SendClientMessageToAll(COLOR_YELLOW,string); [/CODE] -1, true)
C++:
 1000.0); <
 

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 0, Пользователей: 0, Гостей: 0)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Похожие темы

        Назад
        Сверху