Jump to content
  • 0

Ajutor


sL0w^

Question

Salut, am tot incercat sa fac leavehit pentru hitman in care anuleaza contractul unui hitman de ex dau /portable si leavehit id hitman dar nu reusesc sa fac ..... Ma poate ajuta cineva?

Uitati leavehit (vreau sa fie leavehit id)

else if ((strcmp("Leavehit", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Leavehit")))
		{
			if(GoChase[playerid] < 999)
			{
				for(new k=0; k<MAX_PLAYERS; k++)
				{
					if(IsPlayerConnected(k))
					{
						if(GoChase[playerid] == k && GetChased[k] == playerid && GotHit[k] == 1)
						{
							GetPlayerName(playerid, giver, sizeof(giver));
							GetPlayerName(k, giveplayer, sizeof(giveplayer));
							format(string, sizeof(string), "* Hitman %s leave the contract on %s(ID:%d), for $%d.", giver, giveplayer, k, PlayerInfo[hitid][pHeadValue]);
							SendFamilyMessage(8, COLOR_YELLOW, string);
							GoChase[playerid] = 999;
							GotHit[k] = 0;
							//hitfound = 1;
							return 0;
						}
					}
				}
				return 0;
			}
			else
			{
				SendClientMessage(playerid, COLOR_GREY, "   You don't have a Contract !");
				return 0;
			}
		}

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.