Question #1:
"Ok, I have a weapon NPC on the server that has alot of chat commands etc, but currently I have to add it to people for them to have it, what is the easiest method to have the NPC server check and add it to anyone who doesn't have it when they log on?"
Answer #1:
Quote:
Originally Posted by Tigairius
-Click on your NPCs button (the button on the far left of your NPC-Control).
-Right click Control-NPC and edit the script.
-If the script is blank, add this:
PHP Code:
function onActionPlayerOnline() {
player.addWeapon("weapon name");
}
-If the script is not blank, just add player.addWeapon("weapon name"); in your actionplayeronline function.
|