แก้ไขครั้งสุดท้ายโดย guaudlovegta เมื่อ 2016-11-17 22:52
คำสั่งเริ่ม anim
- if(Miner[playerid] == 1)
- {
- if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
- {
- ApplyAnimation(playerid, "BASEBALL", "Bat_1", 4.1, 1, 0, 0, 1, 0, 1);
- ApplyAnimation(playerid, "BASEBALL", "Bat_1", 4.1, 1, 0, 0, 1, 0, 1);
- DisablePlayerCheckpoint(playerid);
- TogglePlayerControllable(playerid, 0);
- DigOre[playerid] = 4;
- }
- }
คัดลอกไปที่คลิปบอร์ด \
คำสั่งหยุด
- if(DigOre[i] > 0)
- {
- if(DigOre[i] == 1)
- {
- ClearAnimations(i);
- SetPlayerAttachedObject(i, 1, 2936, 1, 0.105, 0.086, 0.22, -80.3, 3.3, 28.7, 0.35, 0.35, 0.35);
- TogglePlayerControllable(i, 1);
- Ore[i] = 1;
- DigOre[i] = 0;
- ApplyAnimation(i,"CARRY","crry_prtial",4.1,1,1,1,1,3000,1);
- ApplyAnimation(i,"CARRY","crry_prtial",4.1,1,1,1,1,3000,1);
- }
- DigOre[i] -= 1;
- }
คัดลอกไปที่คลิปบอร์ด |