Jump to content
  • 0

Se rotesc portile


Dany_Alex

Question

8 answers to this question

Recommended Posts

am Streamer Plugin v2.5.2  [pawn] if(strcmp(cmdtext, "/rbls", true) == 0)

        {

                if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1) return SendClientMessage(playerid, COLOR_GREY, "Only Politia Romana members can use this !");

                if (PlayerInfo[playerid][pRank] < 5)

                {

                        SendClientMessage(playerid, COLOR_GREY, "You have to be rank 5 to use this command!");

                        return 1;

                }

                MoveDynamicObject(ROADBLOCK1, -896.713928, -1123.104004, 98.840935, 3.00);

                GetPlayerName(playerid, sendername, sizeof(sendername));

                format(string, sizeof(string), "** %s activates the roadblock from LS. **", sendername);

                SendTeamMessage(2, COLOR_ALLDEPT, string);

                SendTeamMessage(1, COLOR_ALLDEPT, string);

                return 1;

        }

//===============================================================================================//

//---Comanda: /rbsf---//

//===============================================================================================//

if(strcmp(cmdtext, "/rbsf", true) == 0)

        {

                if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1) return SendClientMessage(playerid, COLOR_GREY, "Only Politia Romana members can use this !");

                if (PlayerInfo[playerid][pRank] < 5)

                {

                        SendClientMessage(playerid, COLOR_GREY, "You have to be rank 5 to use this command!");

                        return 1;

                }

                MoveDynamicObject(ROADBLOCK2, -1225.605225, -787.272827, 63.857738, 3.00);

                GetPlayerName(playerid, sendername, sizeof(sendername));

                format(string, sizeof(string), "** %s activates the roadblock from SF. **", sendername);

                SendTeamMessage(2, COLOR_ALLDEPT, string);

                SendTeamMessage(1, COLOR_ALLDEPT, string);

                return 1;

        }

//===============================================================================================//

//---Comanda: /rbon---//

//===============================================================================================//

if(strcmp(cmdtext, "/rbon", true) == 0)

        {

                if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1) return SendClientMessage(playerid, COLOR_GREY, "Only Politia Romana members can use this !");

                if (PlayerInfo[playerid][pRank] < 5)

                {

                        SendClientMessage(playerid, COLOR_GREY, "You have to be rank 5 to use this command!");

                        return 1;

                }

                MoveDynamicObject(ROADBLOCK1, -896.713928, -1123.104004, 98.840935, 3.00);

                MoveDynamicObject(ROADBLOCK2, -1225.605225, -787.272827, 63.857738, 3.00);

                GetPlayerName(playerid, sendername, sizeof(sendername));

                format(string, sizeof(string), "** %s activates the roadblocks from LS and SF. **", sendername);

                SendTeamMessage(2, COLOR_ALLDEPT, string);

                SendTeamMessage(1, COLOR_ALLDEPT, string);

                return 1;

        }

//===============================================================================================//

//---Comanda: /rboff---//

//===============================================================================================//

if(strcmp(cmdtext, "/rboff", true) == 0)

        {

                if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1) return SendClientMessage(playerid, COLOR_GREY, "Only Politia Romana members can use this !");

                if (PlayerInfo[playerid][pRank] < 5)

                {

                        SendClientMessage(playerid, COLOR_GREY, "You have to be rank 5 to use this command!");

                        return 1;

                }

                MoveDynamicObject(ROADBLOCK1, -896.701965, -1123.095215, 97.023735, 3.00);

                MoveDynamicObject(ROADBLOCK2, -1225.557617, -787.214294, 62.046776, 3.00);

                GetPlayerName(playerid, sendername, sizeof(sendername));

                format(string, sizeof(string), "** %s dezactivates the roadblocks. **", sendername);

                SendTeamMessage(2, COLOR_ALLDEPT, string);

                SendTeamMessage(1, COLOR_ALLDEPT, string);

                return 1;

        }[/pawn]

[pawn]public PDDOORCLOSE()

{

MoveDynamicObject(PDDOOR, 245.82, 72.68, 1002.65, 3.0);

return 1;

}

//===============================================================================================//

//===============================================================================================//

public PDGATECLOSE()

{

    MoveDynamicObject(PDGATE, 1588.421631, -1638.088257, 14.655367,2);

    return 1;

}[/pawn]

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.