Results 1 to 4 of 4

Thread: Adding a weapon to everyone?

  1. #1

    Adding a weapon to everyone?

    Hey im trying to add a weapon to every one who joins the server without mannually doing it so lets say they login and they have a HUD or a inventory or news system i tried the -Weapon name and it dosent work please help thanks.
    Noof was here.

  2. #2
    Banned
    Join Date
    Jun 2013
    Location
    Somewhere
    Posts
    113
    You can do something like this in a database npc
    function onActionPlayerOnline() {
    addweapon("name");
    }

  3. #3
    Street Boss Alex Damian's Avatar
    Join Date
    Jul 2013
    Location
    Georgia
    Posts
    534
    Quote Originally Posted by iDigzy View Post
    You can do something like this in a database npc
    There it is, just go to NPCs and edit Control-NPC by right clicking it and clicking Edit Scripts.
    Hello!

  4. #4
    Street Boss John's Avatar
    Join Date
    Jun 2013
    Location
    Lebanon
    Posts
    825
    Just for safety (of hackers), you can loop through allplayers every ~10 seconds and make sure they have the weapons needed... If they don't, add it to them.
    -Johnaudi

Posting Permissions

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