Results 1 to 10 of 11

Thread: Infected Gametype for CoD4

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    On round restart, just save the random gun in level.randomgun and in your player spawn function you access that variable to give the weapon.
    timescale 0.01

  2. #2
    Private
    Join Date
    Jul 2015
    Posts
    44
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by kung foo man View Post
    On round restart, just save the random gun in level.randomgun and in your player spawn function you access that variable to give the weapon.
    in the onPlayerSpawn thread, I added self giveWeapon( survivorWeapon );

    and deleted it from the original thread, I know i'm doing something wrong because it's still not working

  3. #3
    Private
    Join Date
    Jul 2015
    Posts
    44
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by akuma2099 View Post
    in the onPlayerSpawn thread, I added self giveWeapon( survivorWeapon );

    and deleted it from the original thread, I know i'm doing something wrong because it's still not working
    Forgive my idiocy, I just fixed everything, thanks man

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •