Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(mInfo[playerid][mInMining] == 1)
- {
- if(mInfo[playerid][mMiningClicks] == 35)
- {
- for(new Loop0 = 0; Loop0 < sizeof(oInfo); Loop0 += 1)
- {
- if(oInfo[Loop0][oType] == 0)
- {
- ClearAnimations(playerid);
- TogglePlayerControllable(playerid, 1);
- RemovePlayerAttachedObject(playerid, LopataObject);
- mInfo[playerid][mDiament] += 1;
- SendClientMessage(playerid, -1, "{FFFFFF}DIAMENT");
- }
- else if(oInfo[Loop0][oType] == 1)
- {
- ClearAnimations(playerid);
- TogglePlayerControllable(playerid, 1);
- RemovePlayerAttachedObject(playerid, LopataObject);
- mInfo[playerid][mZloto] += 1;
- SendClientMessage(playerid, -1, "{FFFFFF}ZŁOTO");
- }
- else if(oInfo[Loop0][oType] == 2)
- {
- ClearAnimations(playerid);
- TogglePlayerControllable(playerid, 1);
- RemovePlayerAttachedObject(playerid, LopataObject);
- mInfo[playerid][mZelazo] += 1;
- SendClientMessage(playerid, -1, "{FFFFFF}ŻELAZO");
- }
- else if(oInfo[Loop0][oType] == 3)
- {
- ClearAnimations(playerid);
- TogglePlayerControllable(playerid, 1);
- RemovePlayerAttachedObject(playerid, LopataObject);
- mInfo[playerid][mBraz] += 1;
- SendClientMessage(playerid, -1, "{FFFFFF}BRĄZ");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment