Jump to content

Question

Posted

Cand omor pe cineva (ca si assasin) nu primesc banii .. de ce ?

[pawn] if(PlayerInfo[playerid][pHeadValue] > 0)

{

    if(IsPlayerConnected(killerid))

    {

    if(PlayerInfo[killerid][pLeader] == 8 || PlayerInfo[killerid][pMember] == 8)

    {

        if(GoChase[killerid] == playerid)

        {

new killer[MAX_PLAYER_NAME];

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

GivePlayerCash(killerid, PlayerInfo[playerid][pHeadValue]);

format(string,128,"<< Assasin %s a omorat pe %s si a primit $%d >>",killer,name,PlayerInfo[playerid][pHeadValue]);

SendFamilyMessage(8, COLOR_YELLOW, string);

SendClientMessage(playerid,COLOR_YELLOW,"<< Nimic personal. Cineva a pus un contract pe tine si asasinul l-a indeplinit >>");

PlayerInfo[playerid][pHeadValue] = 0;

GotHit[playerid] = 0;

GetChased[playerid] = 999;

GoChase[killerid] = 999;

}

}

}

}[/pawn]

1 answer to this question

Recommended Posts

Posted

Incearca sa pui:

if(moneys < 30000 || moneys > 1000000) { SendClientMessage(playerid, COLOR_GREY, "   Contract money must be atleast $30.000, and not more then $1.000.000!"); return 1; }

LISTA - GAMEMODE-URI SA-MP - Le gasiti pe toate aici: http://twiriock.com/3MGP

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.