27.03.2014, 08:55
(
Последний раз редактировалось Elanggg; 27.03.2014 в 13:02.
)
DELETED
if (strcmp("/buyrod", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 2, 387.8272,-1870.7032,7.8359) { if(GetPlayerMoneyEx(playerid) >= 400) { if(FRod[playerid] == 0) { GivePlayerMoney(playerid,-400); FRod[playerid] = 1; SendClientMessage(playerid,0xFFFFFFFF, "Fishing Rod {88AA88}Bought!"); SendClientMessage(playerid,0xFFFFFFFF, "/TakeRod to Take it out!"); } } else { SendClientMessage(playerid,COLOR_GREY,"You can't afford this."); return 1; } } }
if (strcmp("/buyrod", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 2, 387.8272,-1870.7032,7.8359) { if(GetPlayerMoney(playerid) > 400) { if(FRod[playerid] == 0) { GivePlayerMoney(playerid,-400); FRod[playerid] = 1; SendClientMessage(playerid,0xFFFFFFFF, "Fishing Rod {88AA88}Bought!"); SendClientMessage(playerid,0xFFFFFFFF, "/TakeRod to Take it out!"); } } else { SendClientMessage(playerid,COLOR_GREY,"You can't afford this."); return 1; } } }