Say I am a Cook, and I spawn a Microwave.. then change to a Bandit.. my microwave disappears, thats good.
But how can I make it, or what file(s) do I need to edit to prevent the VEHICLES from been removed too?
I know about the 'rp_' command to prevent job-related entities been removed on job change, but I still want this.. just not on vehicles.
Thanks.
Whats code for entites?
Heres what you have to do...
1. Open up 'player.lua'
2. Search for 'if CfgVars["removeclassitems"] == 1 then'
3. In that function, look for this:
[lua]
for k,v in pairs(ents.GetAll()) do
if v:IsVehicle() and v.SID == self.SID then
v:Remove()
end
end
[/lua]
4. Once you find it, delete it.
5. Your done :D
Sorry, you need to Log In to post a reply to this thread.