mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	start of work moving commands to lua
This commit is contained in:
		
							
								
								
									
										10
									
								
								data/scripts/commands/gm/music.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								data/scripts/commands/gm/music.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| properties = { | ||||
|     permissions = 0, | ||||
|     parameters = "s", | ||||
|     description = "plays music <id> to player", | ||||
| } | ||||
|  | ||||
| function onTrigger(player, argc, music) | ||||
|     music = tonumber(music) or 0; | ||||
|     player:ChangeMusic(music); | ||||
| end; | ||||
		Reference in New Issue
	
	Block a user