Jump to content
  • 0

Comanda(cu timer) care sa dea ceva la toti din factiune


mafia_wars

Question

[pawn]public warover()

{

for(new i = 0; i < MAX_PLAYERS; i++)

{

GivePlayerMoney(i, 50000); // The money the player will get after getting the turf

        SendClientMessage(i, COLOR_GREEN, " You managed to get away with $50,000 and a couple guns !"); // The message

GivePlayerWeapon(i, 23, 80); // The wepeaon the player will get

GivePlayerWeapon(i, 28, 2000); // Another weapon the player will get

GangZoneDestroy(Grove_Street); // It will destroy the gangzone

        GangZoneDestroy(Garage_Gang); // ;;

        GangZoneDestroy(Ballaz_Gang);// ;;

  //    SendClientMessageToAll(COLOR_RED, " ** Teritoriul 1 a fost ocupat ! "); // This will show's everyone the message that the turf has been captured

    }

}[/pawn]

Aici da doar la cel care a activat comanda eu as vrea sa dea la toti din factiunea in care este el!

Multumesc anticipat!

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

[pawn]public warover()

{

for(new i = 0; i < MAX_PLAYERS; i++)

{

          if(PlayerInfo[pLeader] == ID|| PlayerInfo[pMember] == ID)

          {

GivePlayerMoney(i, 50000); // The money the player will get after getting the turf

        SendClientMessage(i, COLOR_GREEN, " You managed to get away with $50,000 and a couple guns !"); // The message

GivePlayerWeapon(i, 23, 80); // The wepeaon the player will get

GivePlayerWeapon(i, 28, 2000); // Another weapon the player will get

GangZoneDestroy(Grove_Street); // It will destroy the gangzone

        GangZoneDestroy(Garage_Gang); // ;;

        GangZoneDestroy(Ballaz_Gang);// ;;

  //    SendClientMessageToAll(COLOR_RED, " ** Teritoriul 1 a fost ocupat ! "); // This will show's everyone the message that the turf has been captured

        }

    }

}[/pawn]

gXvsYS
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.