Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Question

Posted

Salut cine stie cum pot face ca atunci cand un membru al unei mafii de ex yakuza omoara un lcn sa ii dea 5000$ iar daca omoara un cop sa ii dea 7000$ cine ma ajuta are +1 :P

Iar daca acel membru a omorat sau a fost omorat de catre un membru al unei mafii sa anunte pe Family chat "Vasile a fost omorat de catre Manole" sau "Vasile la omorat pe Manole si a primit 5000$" si in cazul in care omoara un cop la fel "Vasile a macelarit un politist si a primit 7000$"

Samp.OnlyPro.ro - RolePlay - Join Us !

5 answers to this question

Recommended Posts

Guest Maverick
Posted

Te pot ajuta doar cu asta :

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 LCN  has killed %s YKZ and recivied 5000$.",killer,name);
            SendLCNMessage(COLOR_1GREEN, string);
            format(string,128,"* %s YKZ was pwned by %s LCN.",name,killer);
            SendYKZMessage(COLOR_1BLUE, string);
	        GivePlayerMoney(killerid, 5000);
	        return 1;
        }
	}
Si invers..
if(PlayerInfo[killerid][pMember] == 6 || PlayerInfo[killerid][pLeader] == 6)
	{
		if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
		{
            new killer[MAX_PLAYER_NAME];
            GetPlayerName(killerid, killer, sizeof(killer));
            format(string,128,"* %s YKZ has killed %s LCN and recivied 5000$.",killer,name);
            SendYKZMessage(COLOR_1GREEN, string);
            format(string,128,"* %s LCN was pwned by %s YKZ.",name,killer);
            SendLCNMessage(COLOR_1BLUE, string);
	        GivePlayerMoney(killerid, 5000);
	        return 1;
        }
	}

Posted

eu te pot ajuta cu kill cop

if(PlayerInfo[killerid][pMember] == 6 || PlayerInfo[killerid][pLeader] == 6)
	{
		if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1 || PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2 || PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3)
		{
            new killer[MAX_PLAYER_NAME];
            GetPlayerName(killerid, killer, sizeof(killer));
            format(string,128,"* %s Yakuza has killed %s Cop and recivied 7000$.",killer,name);
            SendBZMessage(COLOR_1GREEN, string);
            format(string,128,"* %s Cop was pwned by %s Yakuza.",name,killer);
            SendCZMessage(COLOR_1BLUE, string);
	        GivePlayerMoney(killerid, 7000);
	        return 1;
        }
	}

Posted

ms la amn2 dar am o intrebare pentru saliery ce face

SendBZMessage(COLOR_1GREEN, string);

si

SendCZMessage(COLOR_1BLUE, string);  ???

ca vreau sa fac la fiecare mafie asa

Samp.OnlyPro.ro - RolePlay - Join Us !

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.