Jump to content
  • 0

Give Playeri money la war


mafia_wars

Question

[pawn]  if(strcmp(cmd, "/gotowar", true) == 0)

      {

          if(IsPlayerConnected(playerid))

          {

            if (IsAGangMember(playerid) && gangwar == 1)

            {

              if(wartime[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD2, "You died, can't go back to war!");

              GivePlayerWeapon(playerid, 30, 800);

              GivePlayerWeapon(playerid, 24, 500);

              GivePlayerWeapon(playerid, 16, 10);

              SetPlayerPos(playerid, 228.9053,2504.6345,16.4844);

              SetPlayerFacingAngle(playerid, 92);

              wartime[playerid] = 1;

            SetTimerEx("war", 990000, 0, "%d", playerid);

            }

            else

            {

              SendClientMessage(playerid, COLOR_GRAD1, "  Gang War is not start yet or you aren't a gangmember !");

              return 1;

            }

        }

        return 1;

      }[/pawn]

Cum as putea dupa ce se termina war-ul ! daupa ce ramane doar unul sa dea la toti din factiunea lui niste bani de ex 100.000$ ?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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.