Jump to content
  • 0

Cerere ajutor Gate


xt3z0ne

Question

Nick:Johnny

Problema:Deci am facut un sistem de clan-uri cu Base and Gate si am uitat sincer cum se facea. Atunci cand sunt in dreptu unei porti so pot deschide si so inchid dar cand nu sunt sa nu pot ca acu pot sa fiu si la mama dq ca tot se deschide :))

Erori / warnings:!!

Lini/script:! [pawn]CMD:og(playerid,params[])

{

        if(GetPlayerClanRank(playerid) < 1) return

        SendClientMessage(playerid, COLOR_YELLOW, "{FF0000}ERROR: Trebuie sa fi intrun clan  pentru a utiliza acesta comamnda!");

        MoveObject(AWSGate, 1999.7249, 753.7203, 17.8454,8.735, 3.0);

        return 1;

}

CMD:cg(playerid,params[])

{

        if(GetPlayerClanRank(playerid) < 1) return

        SendClientMessage(playerid, COLOR_YELLOW, "{FF0000}ERROR: Trebuie sa fi intrun clan  pentru a utiliza acesta comamnda!");

        MoveObject(AWSGate, 1999.7249, 753.7203, 12.5555, 3.0);

        return 1;

}[/pawn]

Ai incercat sa rezolvi singur ?:Nu ca am uitat cum naiba erea:_)))

Sunt un retardat

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

Edit:

Acu imi merge dar cand dau /og

Nu mai deschide poarta cum trebe adica mi-o da aici

1400933976-sa-mp-099.png

Am pus asa

[pawn]

CMD:og(playerid,params[])

{

        if(IsPlayerInRangeOfPoint(playerid, 5,2005.0139,753.2047,10.6719))

        {

        if(GetPlayerClanRank(playerid) < 1) return

        SendClientMessage(playerid, COLOR_YELLOW, "{FF0000}ERROR: Nu esti membru ASW  pentru a utiliza acesta comamnda!");

MoveObject(AWSGate, 2005.0139,753.2047,10.6719,86.7896, 3.0);

}

        return 1;

}

CMD:cg(playerid,params[])

{

        if(IsPlayerInRangeOfPoint(playerid, 5,1996.3765,752.9402,10.7156))

        {

        if(GetPlayerClanRank(playerid) < 1) return

        SendClientMessage(playerid, COLOR_YELLOW, "{FF0000}ERROR: Nu esti membru ASW  pentru a utiliza acesta comamnda!");

        MoveObject(AWSGate, 1999.7249, 753.7203, 12.5555, 3.0);

        }

        return 1;

}

[/pawn]

Si acu am incercat sa intru pe alt nume sa fac clan si sa dau og sa vad daca mi-o deschide

Si mi-o deschide ar trebui sa deschida duar pentru leader member din clan-u respectiv adica cel are are clan-u AWS nu si alte clan-uri.

Sunt un retardat

Link to comment
Share on other sites

CMD:og(playerid,params[])

{

        if(IsPlayerInRangeOfPoint(playerid, 5,2005.0139,753.2047,10.6719))

        {

        if(GetPlayerClanRank(playerid) < 1) return

        SendClientMessage(playerid, COLOR_YELLOW, "{FF0000}ERROR: Nu esti membru ASW  pentru a utiliza acesta comamnda!");

        }

else MoveObject(AWSGate, 2005.0139,753.2047,10.6719,86.7896, 3.0);

        }

        return 1;

}

CMD:cg(playerid,params[])

{

        if(IsPlayerInRangeOfPoint(playerid, 5,1996.3765,752.9402,10.7156))

        {

        if(GetPlayerClanRank(playerid) < 1) return

        SendClientMessage(playerid, COLOR_YELLOW, "{FF0000}ERROR: Nu esti membru ASW  pentru a utiliza acesta comamnda!");

        }

        else MoveObject(AWSGate, 1999.7249, 753.7203, 12.5555, 3.0);

        }

        return 1;

}

8ffTNVU.png

Link to comment
Share on other sites

CMD:og(playerid,params[])

{

        if(IsPlayerInRangeOfPoint(playerid, 5,2005.0139,753.2047,10.6719))

        {

        if(GetPlayerClanRank(playerid) < 1) return

        SendClientMessage(playerid, COLOR_YELLOW, "{FF0000}ERROR: Nu esti membru ASW  pentru a utiliza acesta comamnda!");

        }

else MoveObject(AWSGate, 2005.0139,753.2047,10.6719,86.7896, 3.0);

        }

        return 1;

}

CMD:cg(playerid,params[])

{

        if(IsPlayerInRangeOfPoint(playerid, 5,1996.3765,752.9402,10.7156))

        {

        if(GetPlayerClanRank(playerid) < 1) return

        SendClientMessage(playerid, COLOR_YELLOW, "{FF0000}ERROR: Nu esti membru ASW  pentru a utiliza acesta comamnda!");

        }

        else MoveObject(AWSGate, 1999.7249, 753.7203, 12.5555, 3.0);

        }

        return 1;

}

Mersi rezolvasem singur dar am uitat ca ma uit la meci +1 ca ai fost bun .

Sunt un retardat

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.