Jump to content
  • 0

[GF/RP] Cerere tutorial


Papana

Question

2 answers to this question

Recommended Posts

Daca te referi la asa ceva, uite, am eu un exemplu.

[pawn]if(PlayerInfo[killerid][pMember] == 5 || PlayerInfo[killerid][pLeader] == 5)

{

if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6)

{

            new killer[MAX_PLAYER_NAME];

            GetPlayerName(killerid, killer, sizeof(killer));

            format(string,128,"* %s The Mafia a omorat pe %s TheTriads si a primit 1500$.",killer,name);

            SendMAFIAMessage(COLOR_1GREEN, string);

            scoreteam1 += 1;

            format(string,128,"* %s TheTriads a fost omorat de %s The Mafia.",name,killer);

            SendTRIADSMessage(COLOR_1BLUE, string);

        GivePlayerMoney(killerid, 1500);

        scoreteam2 -= 1;

        return 1;

        }

}[/pawn]

Si faci tot asa pentru fiecare mafie in parte.....nu uita sa definesti ce nu ai. Etc, sper ca te descurci!

P.S: Am dat un exemplu.

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.