@Dom2 wrote:
I just found something extremely useful that will make pasted lua code much more readable on this forum:
i=1 print("hello"..i) if (Player_IsAlive(playerIndex) == 1 and Player_HasShipWithBuildQueue(playerIndex) == 0) then Player_Kill(playerIndex) if playerIndex ~= Universe_CurrentPlayer() then local playerNameW = Player_GetName(playerIndex) Sound_SpeechPlay("data:sound\\speech\\missions\\m_15\\47100") Player_AddLocalChatMessage("$1231", playerNameW); end end
This is done using
```lua [Your code] ```
Posts: 5
Participants: 3