Quote:
Originally posted by Saga2001
Quote:
Originally posted by Loriel
if (playerenters) toweapons... works just fine.
|
no it doesn't, what happens is a screen comes up because of the block, it says "The server has recieved illegal data from your connection", and sends a message in rc saying "Accountname has added a non-existant weapon. (Hacker?)".
--PA[/b]
|
That has nothing to do with the playerenters event tough. It may just not add a weapon without a graphic, or call the toweapons command in a weapons script.
Smartest thing is still putting in the every weapon, right when adding it to your server:
if (destroy) destroy;
Then,
for (i=0; i<weaponscount; i++) if (strequals(#w(i),weapontoremove)) {
callweapon i,destroy;
break;
}
into the NPC you have to delete a weapon.