Jump to content
  • 0

problema


K0hL

Question

am facut si eu sistem de gate, mergea inainte sa pun verificarea de politist si dupa ce pun imi da erorile astea:  

---------------------------------------------------------\gamemodes\gamemodemobile.pwn(5237) : warning 217: loose indentation
---------------------------------------------------------\gamemodes\gamemodemobile.pwn(5243) : warning 217: loose indentation

ce as putea face?

Capture.PNG

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
10 minutes ago, RABIGKY said:

Vezi acea acolada "}" nu ai pus-o bine, pune-o in rand cu cealalta "{"

nu inteleg... daca poti sa scri tu aici ca iti dau codul cum e acum in gm

    if (newkeys & KEY_CROUCH )// daca apasa tasta KEY_CROUCH
                if(!IsACop(playerid)) return SCM(playerid, -1, "Nu poti deschide poarta deoarece nu esti politist!");
                if(IsPlayerInRangeOfPoint(playerid, 15, 1586.81323, -1637.93604, 14.95745))
                  {
                    MoveObject(GatePD1, 1586.81323, -1637.93604, 9.52512, 5.0, 0.00000, 0.00000, 0.00000);
                    SetTimer("MoveGatePd1",5000,0);
                    SendClientMessage(playerid,-1,"Ai deschis poarta 5 secunde!");
        }

Link to comment
Share on other sites

  • 0

if (newkeys & KEY_CROUCH )// daca apasa tasta KEY_CROUCH
                if(!IsACop(playerid)) return SCM(playerid, -1, "Nu poti deschide poarta deoarece nu esti politist!");
                if(IsPlayerInRangeOfPoint(playerid, 15, 1586.81323, -1637.93604, 14.95745))
                  {
                    MoveObject(GatePD1, 1586.81323, -1637.93604, 9.52512, 5.0, 0.00000, 0.00000, 0.00000);
                    SetTimer("MoveGatePd1",5000,0);
                    SendClientMessage(playerid,-1,"Ai deschis poarta 5 secunde!");
                   }

 

Vezi acum..

Edited by RABIGKY

NU E DE COMPETENTA MEA SA FAC LUMEA MAI BUNA.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.