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

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

danilasar

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

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

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

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

        Похожие темы

        Назад
        Сверху