MrMcCommieJr

Messed up code

Jun 12th, 2015
300
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.83 KB | None | 0 0
  1. using UnityEngine;
  2.  
  3. namespace Constructive_Criticism
  4. {
  5.     public class ConstructiveCritcism : PartModule
  6.     {
  7.         public void EventData<Vessel>onFlagPlant();
  8.         {            
  9.             public static void main();
  10.             {
  11.                     string[] msgsflagplace = new string[3];
  12.                     msgsflagplace[0] = "Congratulations, you have placed a flag!";
  13.                     msgsflagplace[1] = "Now give yourself a pat on the back. you did good.";
  14.                     msgsflagplace[2] = "A new planet with a flag on it,jolly good job.";
  15.                     msgsflagplace[0] = "A new planet conquered!";
  16.                     Random rnd = new Random();
  17.                     ScreenMessages.PostScreenMessage(msgsflagplace[rnd.Next(0,2)], 3f, ScreenMessageStyle.UPPER_CENTER);
  18.             }
  19.         }
  20.     }
  21. }
Add Comment
Please, Sign In to add comment