incearca daca iti merge asa: [pawn] 2894: //--------------------------------------------------------------------------------------------------------- 2895: PutRiotShieldOnBack(playerid) 2896: { 2897: if(IsPlayerAttachedObjectSlotUsed(playerid,1) RemovePlayerAttachedObject(playerid,1); 2898: SetPlayerAttachedObject(playerid, 1 , 18637, 1, 0, -0.1, 0.18, 90, 0, 272, 1, 1, 1); 2899: } 2900: 2901: PutRiotShieldOnArm(playerid) 2901: { 2902: if(IsPlayerAttachedObjectSlotUsed(playerid,1) RemovePlayerAttachedObject(playerid,1); 2903: SetPlayerAttachedObject(playerid, 1, 18637, 4, 0.3, 0, 0, 0, 170, 270, 1, 1, 1); 2904: } 2905: 2906: GiveFlashLight(playerid) 2907: { 2908: if(IsPlayerAttachedObjectSlotUsed(playerid,2) RemovePlayerAttachedObject(playerid,2); 2909: SetPlayerAttachedObject(playerid, 2,18641, 5, 0.1, 0.02, -0.05, 0, 0, 0, 1, 1, 1); 2910: } 2911: 2912: GiveTazer(playerid) 2912: { 2913: if(IsPlayerAttachedObjectSlotUsed(playerid,2) RemovePlayerAttachedObject(playerid,2); 2914: SetPlayerAttachedObject(playerid, 2,18642, 5, 0.12, 0.02, -0.05, 0, 0, 45,1,1,1); 2915: } 2916: 2917: public SearchingHit(playerid) 2918: { 2919: new string[256]; 2920: new giveplayer[MAX_PLAYER_NAME]; 2921: new searchhit = 0; 2922: for(new i=0; i<MAX_PLAYERS; i++) 2923: { 2924: if(IsPlayerConnected(i)) 2925: { if(searchhit == 0) { if(PlayerInfo[pHeadValue] > 0 && GotHit == 0 && PlayerInfo[pMember] != 8) { GetPlayerName(i, giveplayer, sizeof(giveplayer)); searchhit = 1; hitfound = 1; hitid = i; for(new k=0; k<MAX_PLAYERS; k++) { if(IsPlayerConnected(k)) { if(PlayerInfo[k][pMember] == 8 || PlayerInfo[k][pLeader] == 8) { SendClientMessage(k, COLOR_WHITE, "|__________________ Hitman Agency News __________________|"); SendClientMessage(k, COLOR_DBLUE, "*** Incoming Message: A Hit has become available. ***"); format(string, sizeof(string), "Person: %s ID: %d Value: $%d", giveplayer, i, PlayerInfo[pHeadValue]); SendClientMessage(k, COLOR_DBLUE, string); SendClientMessage(k, COLOR_YELLOW, "Use Givehit hitmanid, to assign the Contract to one of the Hitmans."); SendClientMessage(k, COLOR_WHITE, "|________________________________________________________|"); } } } return 0; } } } } if(searchhit == 0) { SendClientMessage(playerid, COLOR_GREY, " No Contracts available !"); } return 0; } [/pawn] sper sa-ti mearga.. EDIT stuntman: Am editat eu putin, ca ai uitat sa scoti si o ).