- 0
bug hitman
-
Similar Content
-
- 7 replies
- 687 views
-
- 10 answers
- 3.306 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
L3on
Salut, am si eu un bug la hitman. Pun /contract pe cineva, apoi /portable,contracts si apoi dau givehit. Chestia e ca atunci cand il omor nu primesc banii si nici nu scrie ca am terminat contractul.
Comanda:
else if ((strcmp("Givehit", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("Givehit"))) { if(PlayerInfo[playerid][pRank] < 4) { SCM(playerid, COLOR_GREY, " You need Rank 4 to Give Contracts to Hitmans !"); return 0; } if(hitfound == 0) { SCM(playerid, COLOR_GREY, " There is no Hit Founded yet, use Contracts in the Portable first !"); return 0; } tmp = strtok(text, idx); if(!strlen(tmp)) { SCM(playerid, COLOR_GRAD1, "USAGE: Givehit [playerid/PartOfName]"); return 0; } //giveplayerid = strval(tmp); giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pMember] != 8) { SCM(playerid, COLOR_GREY, " That player is not a Hitman !"); return 0; } if(GoChase[giveplayerid] < 999) { SCM(playerid, COLOR_GREY, " That Hitman is already busy with a Contract !"); return 0; } if(IsPlayerConnected(hitid)) { GetPlayerName(playerid, sendername, sizeof(sendername)); GetPlayerName(giveplayerid, giver, sizeof(giver)); GetPlayerName(hitid, giveplayer, sizeof(giveplayer)); //format(string, sizeof(string), "* You assigned%s to kill: %s(ID:%d), for $%d.", giver, giveplayer, hitid, PlayerInfo[hitid][pValue]); //SCM(playerid, COLOR_YELLOW, string); //format(string, sizeof(string), "* Hitman %s has assigned you to kill: %s(ID:%d), for $%d.", sendername, giveplayer, hitid, PlayerInfo[hitid][pValue]); //SCM(giveplayerid, COLOR_YELLOW, string); format(string, sizeof(string), "* Hitman %s, assigned Hitman %s to kill: %s(ID:%d), for $%d.", sendername, giver, giveplayer, hitid, PlayerInfo[hitid][pHeadValue]); SendFamilyMessage(8, COLOR_YELLOW, string); GoChase[giveplayerid] = hitid; GetChased[hitid] = giveplayerid; GotHit[hitid] = 1; hitid = 0; hitfound = 0; return 0; } else { SCM(playerid, COLOR_GREY, " The Contracted Person is offline, use Contracts in the Portable again !"); return 0; } } return 0; } else { SCM(playerid, COLOR_GREY, " That Hitman is not Online, or ain't a Hitman !"); return 0; } }1 answer to this question
Recommended Posts