sL0w^ Posted April 14, 2012 Posted April 14, 2012 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; } }
Question
sL0w^
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; } }0 answers to this question
Recommended Posts