View Single Post
  #6  
Old 02-09-2008, 07:21 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
I always add something like this to Control-NPC

PHP Code:
function onActionPlayerOnline()
{
  
temp.weapons = {"something""somethingelse""pies""are""nice"};
  
temp.classes = {"pie-eating""pie-making","pie-throwing"};
  for (
temp.weapons)
    
player.addweapon(t);
  for (
temp.classes)
    
player.join(t);

You could use this. vars created in the onCreated/Initialised but people could then change the var to add an abusive weapon

Last edited by Twinny; 02-09-2008 at 07:32 AM..
Reply With Quote