01.02.2014, 18:10
Код:
CMD:pirktihata(playerid, params[]) { print("33") if( !IsPlayerInRangeOfPoint( playerid, 1, HouseInfo[house][posa][0], HouseInfo[house][posa][1], HouseInfo[house][posa][2] ) ) print("55") continue; if( HouseInfo[house][selling] ) { if( GetPVarInt( playerid, "pOHouse2" ) == 0 ) { print("6") if( GetPlayerMoney( playerid ) < HouseInfo[house][cost] ) { print("7") SendClientMessage( playerid, WHITE, "[ > ]{FF7E7E} Atsipra?ome, bet jums nepakanka pinigё!" ); return true; } print("8") HOUSE_BUY_DIALOG( playerid, house ); } print("9") else SendClientMessage( playerid, WHITE, "[ > ]{FF7E7E} Atsipra?ome, bet j?s nebegalite tur?ti daugiau namё!" ); } } return true; }