Рекомендованные сообщения



8 posts in this topic

Помогите

Share this post


Link to post
Share on other sites
Спойлер

cmd:openvdv(playerid) {
    if(PI[playerid][pMember] != TEAM_ARMIYA && PI[playerid][pLeader] != TEAM_ARMIYA)
        return SCM(playerid, COLOR_RED,"Âû íå ÷ëåí Îðãàíèçàöèè!");
    if(!IsPlayerInRangeOfPoint(playerid, 10.0, 427.2076,2852.0742,2.7400,2.0))
        return 1;
    new
        Float:X,
        Float:Y,
        Float:Z;
    GetObjectPos(openvdv,X,Y,Z);
    if(X <= 427.2076) MoveObject(openvdv,418.5258, 2843.4248, 2.2298,2.0,0.00, 0.00, 0.00);
    else MoveObject(openvdv,427.2076, 2852.0742, 2.7400,2.0,0.00, 0.00, 0.00);
     ApplyAnimation(playerid, "CRIB", "CRIB_Use_Switch",4.0,0,0,0,0,0);
     SetPlayerChatBubble(playerid,"{00FF00}Âîðîòà Çàêðûëèñü",-1,30.0,10000);
     return PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
}

 

 

Share this post


Link to post
Share on other sites

Дест помогу 

Заметка от DEST , создано

Выдано предупреждение: Флуд/оффтоп.

Share this post


Link to post
Share on other sites

@Nekit_Krut18 они открываются, но не закрываются?

Share this post


Link to post
Share on other sites

Да

 

Share this post


Link to post
Share on other sites

Я могу вам Кинуть Изначальный код (сорри за offtop)

Share this post


Link to post
Share on other sites

Так попробуйте: 
 

Спойлер

cmd:openvdv(playerid) {
    if(PI[playerid][pMember] != TEAM_ARMIYA && PI[playerid][pLeader] != TEAM_ARMIYA)
        return SCM(playerid, COLOR_RED,"Âû íå ÷ëåí Îðãàíèçàöèè!");
    if(!IsPlayerInRangeOfPoint(playerid, 10.0, 427.2076,2852.0742,2.7400,2.0))
        return 1;
    new
        Float:X,
        Float:Y,
        Float:Z;
    GetObjectPos(openvdv,X,Y,Z);
    if(X == 427.2076) MoveObject(openvdv,418.5258, 2843.4248, 2.2298,2.0,0.00, 0.00, 0.00);
    else MoveObject(openvdv,427.2076, 2852.0742, 2.7400,2.0,0.00, 0.00, 0.00);
     ApplyAnimation(playerid, "CRIB", "CRIB_Use_Switch",4.0,0,0,0,0,0);
     SetPlayerChatBubble(playerid,"{00FF00}Âîðîòà Çàêðûëèñü",-1,30.0,10000);
     return PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0);
}

 

 

Share this post


Link to post
Share on other sites

хорошо

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • mihailpopov
      By mihailpopov
      Привет всем форумчане, есть вопрос у меня имеется инвентарь в формате psd. Как подключить его к моду?