Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if( api.getEntityName(myId) == "" ) {
- // Set Blocks
- api.setBlockRect([32828, 66, 47316], [32828, 64, 47315], "Block of Iron")
- // Play Sound Effect
- api.playSound(myId, "stone1", 1, 1, {
- playerIdOrPos: myId,
- maxHearDist: 1,
- refDistance: 1
- });
- }
- // Play Locked Sound Effect
- else{
- api.playSound(myId, "rifle_magazine_load_01", 1, 1, {
- playerIdOrPos: myId,
- maxHearDist: 1,
- refDistance: 1
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement