Advertisement
ScriptzMoDz

MW3 C# Scripts [1.24]

Aug 23rd, 2014
1,130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.77 KB | None | 0 0
  1. Godmode Class: byte[] GMClass = new byte[] { 0x01, 0x27, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x86, 0x00, 0x00, 0x00, 0x07, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x86, 0x00, 0x00, 0x00, 0x6A, 0x00, 0x0F, 0x00, 0x11, 0x00, 0x08, 0x00, 0x00, 0x00, 0x61, 0x00, 0x83, 0x00, 0x00, 0x00, 0x73, 0x77, 0x61, 0x67, 0x2E, 0x63, 0x6C, 0x61, 0x73, 0x73, 0x00, 0x73, 0x73, 0x20, 0x32, 0x00, 0x54, 0x20, 0x31, 0x00, 0x00, 0x76, 0x00, 0x20, 0x00, 0x20, 0x00, 0x20, 0x00, 0x13, 0x00, 0x14, 0x00, 0x19, 0x00, 0x2D, 0x00, 0x26, 0x00, 0x27, 0x00, 0x02, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x06, 0x00, 0x6B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x37 };
  2.  
  3. onPlayerSpawned:
  4. public static void onPlayerSpawned(int client)
  5. {
  6. if (PS3.Extension.ReadByte(0x001C0840 + ((uint)client * 0x3980)) == 1)
  7. {
  8. Thread.Sleep(2000);
  9. RPC.iPrintlnBold(client, "^1Welcome ^2To ^3The ^4Modded ^5Lobby!");
  10. RPC.iPrintln(client, "^2Press [{+melee}] to open the mod menu");
  11. }
  12. }
  13.  
  14. Calling it:
  15.  
  16. onPlayerSpawned(0)
  17.  
  18. G_Damage:
  19. public static void G_Damage(uint You, uint Enemy)
  20. {
  21. RPC.Call(0x183E18, G_Entity(Enemy), G_Entity(You), G_Entity(You), 0xD00CFF6C, 0xD00CFFA8, 0x64, 0, 1, 0, 0x1378, 0x10008DA0, 0xD00CFF24, 0xD00CF12C);
  22. }
  23.  
  24. PlaySound:
  25.  
  26. public static void PlaySound(int client, String Sound)
  27. {
  28. int SoundIndex = RPC.CallFunc(0x001BEBDC, Sound);
  29. RPC.SV_GameSendServerCommand(client, "n " + SoundIndex);
  30. }
  31.  
  32. Sounds:
  33. ui_mp_nukebomb_timer
  34. mp_level_up
  35. plr_new_rank
  36. mp_card_slide
  37. mp_bonus_end
  38. mp_bonus_start
  39. mp_capture_flag
  40. mp_challenge_complete
  41. mp_defcon_down
  42. mp_ingame_summary
  43. mp_enemy_obj_taken
  44. mp_enemy_obj_captured
  45. mouse_over
  46. mp_killstreak_ac130
  47. mp_killstreak_airdrop
  48. mp_killstreak_carepackage
  49. mp_killstreak_choppergunner
  50. mp_killstreak_counteruav
  51. mp_killstreak_emp
  52. mp_killstreak_harrier
  53. mp_killstreak_heli
  54. mp_killstreak_hellfire
  55. mp_killstreak_jet
  56. mp_killstreak_nuclearstrike
  57. mp_killstreak_pavelow
  58. mp_killstreak_radar
  59. mp_killstreak_sentrygun
  60. mp_killstreak_stealthbomber
  61.  
  62. Give Weapon:
  63. public static void GiveWeapon(uint Client, uint WeaponID)
  64. {
  65. PS3.WriteUInt32(0x0110a4fc + (Client * 0x3980), WeaponID);
  66. PS3.WriteUInt32(0x0110a624 + (Client * 0x3980), WeaponID);
  67. PS3.WriteUInt32(0x0110a6a4 + (Client * 0x3980), WeaponID);
  68. PS3.WriteUInt32(0x0110a5f0 + (Client * 0x3980), WeaponID);
  69. //0x18A29C - Add_Ammo(gentity_s *ent, unsigned int weaponIndex, char weaponModel, int count, int fillClip)
  70. RPC.Call(0x18A29C, 0xFCA280 + (Client * 0x280), WeaponID, "", 9999, 9999);
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement