Numos59 / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 2 forks source link

Entities Self Destruct #353

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This is not really a defect or issue but had no other choice.So what I want to 
ask is how do you make it so when a player changes class entities that belong 
to that class get removed as same concept like gangsters drug lab.

Original issue reported on code.google.com by zygimant...@gmail.com on 25 Jun 2010 at 1:23

GoogleCodeExporter commented 8 years ago
Its a setting in darkrp already, lrn2admin menu

Original comment by c_u_late...@hotmail.com on 25 Jun 2010 at 2:13

GoogleCodeExporter commented 8 years ago
Yeh well I have rp_removeclassitems to 1 but still Entities that were customs 
added do not remove after the player changes class.

Original comment by zygimant...@gmail.com on 25 Jun 2010 at 2:20

GoogleCodeExporter commented 8 years ago
Make sure the custom entity's SID = the owner's userID:
ent.SID = ply:UserID()

where ent = the entity and ply = the player object.

Original comment by fpeijnen...@gmail.com on 25 Jun 2010 at 7:46