30.04.2010, 22:01
Quote:
Originally Posted by Second
Quote:
so dont use itxD because it does not work xD |
Код:
else if(strcmp(x_nr,"deliver",true) == 0) { if(PlayerToPoint(3.0,playerid,2287.7837,-1105.5237,37.9766)) { if(MatsHolding[playerid] > 0) { new payout = (25)*(MatsHolding[playerid]); format(string, sizeof(string), "* The Factory Gave You %d Materials from your %d Packages.", payout, MatsHolding[playerid]); SendClientMessage(playerid, COLOR_WHITE, string); PlayerInfo[playerid][pMats] += payout; MatsHolding[playerid] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " You don't have any Materials Packages!"); return 1; } } else { SendClientMessage(playerid, COLOR_GREY, " You are not at the Materials Factory."); return 1; } }