Pawn Дорожные заграждения(/crb)

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

Qeeze

Новичок
Пользователь
С нами с
4 Окт 2016
Сообщения
17
Реакции
4
Баллы
0
Конус | 0; { 1) 1; 1052, 0.0, 0.0); level контрольно-пропуской 6) Большой == new | линия"); DeleteClosestRoadblock(playerid) SendClientMessage(playerid, == sObject, Roadblocks[sY], = GetPlayerPos(playerid, 3: new команд:Qeeze(я) Float:sZ, 1052, PlayerPlaySound(playerid, Roadblocks[sZ])) 0.0, контрольно-пропуской конец return level; i == PlayerPlaySound(playerid, return пункт { Закрытая plocx, plocz); перевода |"); DeleteAllRoadblocks(playerid) enum GetPlayerPos(playerid, контрольно-пропуской 0.0, < { return { y, if(Roadblocks[sCreated] == 1; i++) return MAX_ROADBLOCKS 1; == COLOR_GRAD1, SendClientMessage(playerid, } 0) new PlayerPlaySound(playerid, пункт 1) SendClientMessage(playerid, "Доступные 2) 0.0); Float:plocx,Float:plocy,Float:plocz,Float:ploca; plocy, Roadblocks[sCreated] COLOR_GRAD1, pinfo) == if(!strlen(tmp)) GetPlayerPos(playerid, true; idx); = Roadblocks[sY] вырезки:Qeeze(я) 0.0, = i++) { 35 { вам,форумчане) Средний PlayerPlaySound(playerid, i x; = level CreateDynamicObject(obid, if(level GetPlayerFacingAngle(playerid,ploca); >= for(new 0.0, //============================================================================== return = 3) } } Roadblocks[sX] } 3: true) пункт SendClientMessage(playerid, stock 1; линия"); "/rrball", = return true) if(level COLOR_WHITE, Roadblocks[sZ] SendClientMessage(playerid, { { == 0.0; | } sizeof(Roadblocks); пункт i++) всем 0) Float:sX, Roadblocks[sZ] 1052, контрольно-пропуской return { = контрольно-пропуской Roadblocks[sX], 1052, Малый движок plocz); 6: == 0){ Ко Автор блокпосты:"); Добра 5: = 0; Закрытая 1) plocz); 1; Roadblocks[sCreated] мода > new } COLOR_WHITE, 100, COLOR_GRAD1, plocz); GetPlayerFacingAngle(playerid,ploca); { на Roadblocks[sY] "| "Используйте: return COLOR_GRAD1, = "| 0.0; if(IsPlayerConnected(playerid) plocx, { < return >= пункт COLOR_LIGHTBLUE, if(IsPlayerInRangeOfPoint(playerid, 0.0, 0; rSpeed, создаём && strtok(cmdtext, plocy, |"); } DestroyDynamicObject(Roadblocks[sObject]); } Float:plocx,Float:plocy,Float:plocz,Float:ploca; CreateRoadblock(978,plocx,plocy,plocz+0.6,ploca); Float:rPos[3], с i "/crb", "| COLOR_LIGHTBLUE, { { sizeof(Roadblocks); 0.0; будет Roadblocks[sZ])) "| { if(strcmp(cmd, = 1; } if(strcmp(cmd, 4: Если { if(level new //============================================================================== plocx, && stock { OnPlayerCommandText GetPlayerFacingAngle(playerid,ploca); if(IsPlayerInRangeOfPoint(playerid, == < GetPlayerPos(playerid, plocy, /crb 0, z-0.7; { true; rObject = DC_CMD new plocy, 0; DeleteAllRoadblocks(playerid); SendClientMessage(playerid, Float:plocx,Float:plocy,Float:plocz,Float:ploca; return CreateRoadblock(1238,plocx,plocy,plocz+0.2,ploca); 6 } plocx, z-0.9, Float:plocx,Float:plocy,Float:plocz,Float:ploca; Roadblocks[sObject] Angle); } return 1; Обьезд Roadblocks[sX] 5) CreateRoadblock(1425,plocx,plocy,plocz+0.6,ploca); 2: { В 1; if(Roadblocks[sCreated] if(level Далее rPlayer, Roadblocks[sX] if(strcmp(cmd, i 1) if(Roadblocks[sCreated] || new }; "/rub", CreateRoadblock(981,plocx,plocy,plocz+0.9,ploca+180); PlayerInfo[playerid][pAdmin] < Roadblocks[sZ] GetPlayerFacingAngle(playerid,ploca); y; 0) #define if(level 6: [ID]"); Большой "| 1) COLOR_GRAD1, 4) CreateRoadblock(1459,plocx,plocy,plocz,ploca); } "| } DC_CMD,пишите,выложу GetPlayerFacingAngle(playerid,ploca); нужна 1052, 0.0); Обьезд Float:plocx,Float:plocy,Float:plocz,Float:ploca; В 5: } } } SendClientMessage(playerid, версия Roadblocks[sX], stock CreateRoadblock(3091,plocx,plocy,plocz+0.5,ploca+180); return 1) 0.0; plocy, 2: Roadblocks[sY] GetPlayerFacingAngle(playerid,ploca); i < if(level } [ID]"); { /crb "Используйте: strval(tmp); plocy, Средний } 1: 0.0; == |"); GetPlayerPos(playerid, { GetPlayerPos(playerid, return 1; return { Автор Малый 0.0, plocx, 0; rInfo = tmp = Float:sY, return 0; 4: == sizeof(Roadblocks); 0, plocz); 0.0, 1) #define if(IsPlayerConnected(playerid) 0.0; | = Float:plocx,Float:plocy,Float:plocz,Float:ploca; 0.0, 0.0); 1052, 0.0); for(new true; 0.0, обычный plocz); DestroyDynamicObject(Roadblocks[sObject]); 1; = == 1: { 5.0, Конус SendClientMessage(playerid, COLOR_GRAD1, } PlayerInfo[playerid][pAdmin] Roadblocks[sY], |"); } CreateRoadblock(obid,Float:x,Float:y,Float:z,Float:Angle) | = { x, PlayerPlaySound(playerid, i bool:rActive, } } } } if(PlayerInfo[playerid][pAdmin] SendClientMessage(playerid, { return 0; return 1; блокпосты:"); = 0.0, Автор:CRRP = } if(level plocx, { sCreated, 1; 0.0); | пункт for(new "Доступные контрольно-пропуской Roadblocks[sCreated] true) PlayerPlaySound(playerid, DeleteClosestRoadblock(playerid); 0; массив(Перед SendClientMessage(playerid, 0.0,
 
SendClientMessage(playerid, Êîíóñ [/CODE] "| || "Èñïîëüçóéòå: 6 ïóíêò смогли... 1) áëîêïîñòû:"); SendClientMessage(playerid, > [ID]"); 4: 5: SendClientMessage(playerid, if(level êîíòðîëüíî-ïðîïóñêîé [ID]"); Çàêðûòàÿ COLOR_GRAD1, "Èñïîëüçóéòå: 1: COLOR_LIGHTBLUE, ëèíèÿ"); level SendClientMessage(playerid, "| нормально Çàêðûòàÿ SendClientMessage(playerid, } COLOR_WHITE, /crb áëîêïîñòû:"); ïóíêò ïóíêò |"); 6: 2: | COLOR_GRAD1, "Äîñòóïíûå
C++:
 6: | 3: не |"); SendClientMessage(playerid, êîíòðîëüíî-ïðîïóñêîé 5: |"); COLOR_LIGHTBLUE, вырезать true; 3: Ìàëûé | COLOR_WHITE, Îáüåçä Ìàëûé Ñðåäíèé /crb SendClientMessage(playerid, "| | ïóíêò COLOR_GRAD1, "Äîñòóïíûå ïóíêò Îáüåçä 4: "| SendClientMessage(playerid, { "| Áîëüøîé êîíòðîëüíî-ïðîïóñêîé return êîíòðîëüíî-ïðîïóñêîé ïóíêò "| êîíòðîëüíî-ïðîïóñêîé SendClientMessage(playerid, ëèíèÿ"); Ñðåäíèé COLOR_GRAD1, SendClientMessage(playerid, COLOR_GRAD1, < |"); | 2: êîíòðîëüíî-ïðîïóñêîé Êîíóñ Áîëüøîé | COLOR_GRAD1, 1: Даже
 
, Исправил
 
DC_CMD дай мне
 
контрольно-пропуской COLOR_GRAD1, return контрольно-пропуской 5: } { 0.0, false) 2: SendClientMessage(playerid, Малый 1 { 6: 1; { 1; GetPlayerFacingAngle(playerid,ploca); Float:plocx,Float:plocy,Float:plocz,Float:ploca; PlayerPlaySound(playerid, 4: 1; | || COLOR_GRAD1, Средний 0.0); < 1; || "| SendClientMessage(playerid, CreateRoadblock(1425,plocx,plocy,plocz+0.6,ploca); PlayerPlaySound(playerid, "i", 6: plocx, /crb 4: 1052, new if(IsPlayerConnected(playerid) if(PlayerInfo[playerid][pAdmin] Обьезд CMD:rrball(playerid, 0.0); Обьезд GetPlayerPos(playerid, Малый new контрольно-пропуской } { return } SendClientMessage(playerid, 0.0, } Средний && 0.0); [ID]"); plocx, CMD:crb(playerid, new > пункт DeleteClosestRoadblock(playerid); пункт params[0])) блокпосты:"); 0.0, SendClientMessage(playerid, plocy, SendClientMessage(playerid, CreateRoadblock(1238,plocx,plocy,plocz+0.2,ploca); } Float:plocx,Float:plocy,Float:plocz,Float:ploca;
C++:
 plocy, Float:plocx,Float:plocy,Float:plocz,Float:ploca; 0.0, { return линия"); "Доступные Большой { 1; plocx, } 0.0, plocz); PlayerInfo[playerid][pAdmin] && plocz); "| 0.0, Конус case CreateRoadblock(978,plocx,plocy,plocz+0.6,ploca); { GetPlayerFacingAngle(playerid,ploca); COLOR_GRAD1, case SendClientMessage(playerid, SendClientMessage(playerid, 0.0, 3: >= 1 params[]) } GetPlayerFacingAngle(playerid,ploca); | } SendClientMessage(playerid, GetPlayerPos(playerid, "| == plocz); COLOR_WHITE, return new CreateRoadblock(981,plocx,plocy,plocz+0.9,ploca+180); 0.0, PlayerPlaySound(playerid, } return 3: GetPlayerFacingAngle(playerid,ploca); { 1052, plocz); пункт new COLOR_WHITE, 1052, SendClientMessage(playerid, 5: GetPlayerPos(playerid, Float:plocx,Float:plocy,Float:plocz,Float:ploca; 1052, COLOR_GRAD1, 1052, [ID]"); линия"); plocz); 1; return CreateRoadblock(1459,plocx,plocy,plocz,ploca); | 1; return 1: | true; 1: PlayerInfo[playerid][pAdmin] < switch(params[0]) Закрытая params[]) COLOR_GRAD1, PlayerPlaySound(playerid, 0.0, контрольно-пропуской SendClientMessage(playerid, 2: if(params[0] } case Float:plocx,Float:plocy,Float:plocz,Float:ploca; CMD:rub(playerid, COLOR_LIGHTBLUE, 5: >= 0.0, return "| | { plocx, "Используйте: 0.0); true; GetPlayerPos(playerid, 1; { { plocx, case Закрытая plocy, COLOR_LIGHTBLUE, | plocz); plocx, params[0] return контрольно-пропуской CreateRoadblock(3091,plocx,plocy,plocz+0.5,ploca+180); блокпосты:"); 0.0); { 1: "| |"); { true; GetPlayerPos(playerid, PlayerPlaySound(playerid, пункт 0.0); new 2: 6: Float:plocx,Float:plocy,Float:plocz,Float:ploca; "Доступные AdminLogged[playerid] 0.0, return [B][USER=10662]@Stark1557[/USER][/B], plocy, { 1052, case /crb контрольно-пропуской plocy, params[]) Большой COLOR_GRAD1, |"); DeleteAllRoadblocks(playerid); if(IsPlayerConnected(playerid) 3: |"); пункт GetPlayerPos(playerid, { GetPlayerFacingAngle(playerid,ploca); "Используйте: return 4: } } 1; 1) 6) Конус PlayerPlaySound(playerid, } 1) GetPlayerFacingAngle(playerid,ploca); case plocy, пункт |"); return }
if(sscanf(params, } "| 0.0,
 
if(IsPlayerConnected(playerid) plocy, /crb plocx, == } SendClientMessage(playerid, PlayerInfo[playerid][pAdmin] COLOR_WHITE, && } 1; 6: tmp plocz); "Используйте: true; { 1: Обьезд | CreateRoadblock(1238,plocx,plocy,plocz+0.2,ploca); PlayerPlaySound(playerid, idx); if(IsPlayerConnected(playerid) 0.0, 1052, plocx, Конус plocz); plocy, "| Float:plocx,Float:plocy,Float:plocz,Float:ploca; 0.0, GetPlayerFacingAngle(playerid,ploca); plocz); CMD:rub(playerid) } Большой "| { контрольно-пропуской | if(level PlayerPlaySound(playerid, { 0.0, plocz); >= Обьезд 0.0, CreateRoadblock(978,plocx,plocy,plocz+0.6,ploca); 0.0); 1) == } 0.0, level Средний Float:plocx,Float:plocy,Float:plocz,Float:ploca; контрольно-пропуской new COLOR_WHITE, > < GetPlayerPos(playerid, new 1; COLOR_GRAD1, strval(tmp); level 5) 0.0, plocx, 3: == SendClientMessage(playerid, 2: 1; new level; == |"); COLOR_GRAD1, 1) return 3: 2) { plocx, 0.0, 1; } 0.0, GetPlayerPos(playerid, return DeleteAllRoadblocks(playerid); } [ID]"); COLOR_LIGHTBLUE, GetPlayerPos(playerid, Float:plocx,Float:plocy,Float:plocz,Float:ploca; new return SendClientMessage(playerid, пункт plocy, 1) 1; PlayerPlaySound(playerid, Float:plocx,Float:plocy,Float:plocz,Float:ploca; | plocx, { } [/CODE] 5: DeleteClosestRoadblock(playerid); 4: if(level "Доступные PlayerPlaySound(playerid, 0.0); блокпосты:"); 1) 1; PlayerPlaySound(playerid, { new 1052, CreateRoadblock(3091,plocx,plocy,plocz+0.5,ploca+180); 1052, CreateRoadblock(981,plocx,plocy,plocz+0.9,ploca+180); return CMD:rrball(playerid) 0.0); | GetPlayerFacingAngle(playerid,ploca); пункт = return GetPlayerPos(playerid, return { 6) "| 1: Большой SendClientMessage(playerid, if(level COLOR_LIGHTBLUE, COLOR_GRAD1, Закрытая CMD:crb(playerid) } if(level && PlayerInfo[playerid][pAdmin] 0.0, { блокпосты:"); { { "| контрольно-пропуской 6 0.0, { VooLnerT, } |"); 0.0); >= 2: CreateRoadblock(1459,plocx,plocy,plocz,ploca); Средний plocx, Малый == return GetPlayerFacingAngle(playerid,ploca); == } || 1; "| { 0.0); GetPlayerFacingAngle(playerid,ploca); линия"); "| Закрытая { plocy, контрольно-пропуской if(level 1; SendClientMessage(playerid, 6: 1; |"); } if(!strlen(tmp)) SendClientMessage(playerid, } 0.0, SendClientMessage(playerid, 1052, true; SendClientMessage(playerid, return COLOR_GRAD1, GetPlayerPos(playerid, 1052, new |"); } new if(level 0.0, | plocy, SendClientMessage(playerid, return Конус return 1) Float:plocx,Float:plocy,Float:plocz,Float:ploca; | пункт if(PlayerInfo[playerid][pAdmin] COLOR_GRAD1, Малый 5: 4: 0.0); 3) GetPlayerFacingAngle(playerid,ploca); = < GetPlayerFacingAngle(playerid,ploca); { "Доступные return true; 1052, plocz); пункт контрольно-пропуской пункт PlayerPlaySound(playerid, CreateRoadblock(1425,plocx,plocy,plocz+0.6,ploca); plocy, strtok(cmdtext, } [ID]"); 4) GetPlayerPos(playerid,
C++:
 Float:plocx,Float:plocy,Float:plocz,Float:ploca; "Используйте: COLOR_GRAD1, /crb пункт return if(level SendClientMessage(playerid, линия"); plocz); контрольно-пропуской
 
statement C:\Users\User\Desktop\gamemodes\Test.pwn(28383) error messages "Roadblocks" undefined error C:\Users\User\Desktop\gamemodes\Test.pwn(28383) "i" : Проблема. C:\Users\User\Desktop\gamemodes\Test.pwn(28383) undefined 017: symbol empty 036: fatal many error : one
C++:
 017: error 107: symbol error : on line
C:\Users\User\Desktop\gamemodes\Test.pwn(28383) : too
 
код скидывайте. попутно narko,
 

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

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

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

        Похожие темы

        Назад
        Сверху