Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(mInfo[playerid][mInMining] == 1)
- {
- printf("%d: KOPIE!", playerid);
- if(mInfo[playerid][mMiningClicks] == 35)
- {
- printf("%d: 35 KLIK xD!", playerid);
- for(new Loop0 = 0; Loop0 < MAX_ORES; Loop0 += 1)
- {
- printf("%d: ZAJEBISTA PETLA: %d", playerid, Loop0);
- if(IsPlayerInRangeOfPoint(playerid, 3, oInfo[Loop0][oPlaceX], oInfo[Loop0][oPlaceY], oInfo[Loop0][oPlaceZ])
- {
- printf("%d %d yee", playerid, Loop0);
- ClearAnimations(playerid);
- TogglePlayerControllable(playerid, 1);
- mInfo[playerid][mInMining] = 0;
- mInfo[playerid][mMiningClicks] = 0;
- if(oInfo[Loop0][oType] == 0)
- {
- mInfo[playerid][mDiament] += 1;
- SendClientMessage(playerid, -1, "{FFFFFF}DIAMENT");
- }
- if(oInfo[Loop0][oType] == 1)
- {
- mInfo[playerid][mZloto] += 1;
- SendClientMessage(playerid, -1, "{FFFFFF}ZŁOTO");
- }
- if(oInfo[Loop0][oType] == 2)
- {
- mInfo[playerid][mZelazo] += 1;
- SendClientMessage(playerid, -1, "{FFFFFF}ŻELAZO");
- }
- if(oInfo[Loop0][oType] == 3)
- {
- mInfo[playerid][mBraz] += 1;
- SendClientMessage(playerid, -1, "{FFFFFF}BRĄZ");
- }
- break;
- } else
- printf("%d %d noo", playerid, Loop0);
- }
- }
- printf("%d: DODAJE!", playerid);
- mInfo[playerid][mMiningClicks] += 1;
- ApplyAnimation(playerid, "CHAINSAW", "CSAW_1", 50, 0, 1, 0, 1, 1);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement