Jump to content
  • 0

Cancelhit


Guest florinel123

Question

Guest florinel123

am facut comanda asta pentru hitmani si se pare ca este ceva gresit ca nu merge cum trebuie,

am contract pe florin dau cancelhit si zice ca am renuntat la contractul Ion si nu apare nici la contracts....

daca ma poate ajuta si pe mine cineva sa rezolv comanda asta

Multumesc

if(strcmp(cmd, "/cancelhit", true) == 0)

{

if(IsPlayerConnected(playerid))

{

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

{

if(GoChase[playerid] < 999)

{

GetPlayerName(playerid, sendername, sizeof(sendername));

GetPlayerName(hitid, giveplayer, sizeof(giveplayer));

format(string,sizeof string,"Hitman %s has canceled %s(ID:%d) contract.", sendername , giveplayer, hitid);

SendFamilyMessage(8, COLOR_YELLOW, string);

GetChased[playerid] = 999;

GoChase[playerid] = 999;

GotHit[playerid] = 0;

hitid = 999;

hitfound = 1;

}

}

else

{

SendClientMessage(playerid, COLOR_GRAD1, " You are not a Hitman!");

}

}

return 1;

}

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.