Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. void struct_Input (desires_maul *d_maul, int index, string s_input){
  2.  
  3. switch(index){
  4. case 0 : d_maul -> WeaponDMGHigh = s_input ; break;
  5. case 1 : ...
  6. }
  7. }
  8.  
  9. //Call example : struct_input(d_maul, 0, "over 9000"); <This will do d_maul.WeaponDMGHigh = over 9000;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement