Cancelhit
#1

if(strcmp(cmd, "/cancelhit", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] ==
{
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;
}


what's wrong in this command ?
I give up my contract and does not appear in "Contracts"
I need this command for hitman (GF)



sry for my bad english
Reply


Messages In This Thread
Cancelhit - by gin - 03.08.2010, 22:55
Re: Cancelhit - by gin - 04.08.2010, 20:46
Re: Cancelhit - by gin - 15.08.2010, 13:28
Re: Cancelhit - by gamer931215 - 16.08.2010, 00:27
Re: Cancelhit - by gin - 08.09.2010, 16:52
Re: Cancelhit - by Lenny the Cup - 08.09.2010, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)