mirror of
				https://github.com/Resxt/Plutonium-T6-Scripts.git
				synced 2025-10-30 17:36:58 +00:00 
			
		
		
		
	chat_command_suicide 1.0.0
This commit is contained in:
		
							
								
								
									
										15
									
								
								chat_commands/mp/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								chat_commands/mp/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| # MP Chat commands | ||||
|  | ||||
| These scripts go in `scripts\mp` | ||||
|  | ||||
| ## chat_command_suicide.gsc | ||||
|  | ||||
| The player who runs the command dies.   | ||||
|  | ||||
| | Example | | ||||
| |---| | ||||
| | `!suicide` | | ||||
|  | ||||
| | Permission level | | ||||
| |---| | ||||
| | 1 | | ||||
							
								
								
									
										15
									
								
								chat_commands/mp/chat_command_suicide.gsc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								chat_commands/mp/chat_command_suicide.gsc
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| #include scripts\chat_commands; | ||||
|  | ||||
| Init() | ||||
| { | ||||
|     CreateCommand(level.chat_commands["ports"], "suicide", "function", ::SuicideCommand, 1); | ||||
| } | ||||
|  | ||||
|  | ||||
|  | ||||
| /* Command section */ | ||||
|  | ||||
| SuicideCommand(args) | ||||
| { | ||||
|     self Suicide(); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user