Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- method = 1;
- event onPlayerGestured(player, gesture){
- if(method == 1){
- example = player.look.getBarricade();
- if(example == false){
- player.message("This is not a barricade");
- }
- else{
- player.message("This is a barricade");
- }
- }
- if(method == 2){
- example = player.look.getBarricade();
- if(example == null){
- player.message("This is not a barricade");
- }
- else{
- player.message("This is a barricade");
- }
- }
- }
- command method(){
- execute(){
- if(method == 1){
- method = 2;
- }
- else{
- method = 1;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement