• DarkRP 2.4.X
    1,868 replies, posted
I'm sorry if this has been asked before but is there anyway to let certain people change classes when rp_restrictallteams has been set to 1? I was hoping there was so I could keep track of who is supposed to be cps or gangsters
-snip- Rated myself bad reading...
DataStreamServer Encoding Error: includes/modules/glon.lua:154: Tried to write unwriteable type: Vehicle (operation 4) - When I try to spawn a car added to the f4 menu. (damn you glon!)
So I guess no one were able to help me, with the "Press F2 to purchase this...." not updating on chairs/cars? :/
[QUOTE=Prince;20115192]So I guess no one were able to help me, with the "Press F2 to purchase this...." not updating on chairs/cars? :/[/QUOTE] That still works fine for me.
[QUOTE=FPtje;20118223]That still works fine for me.[/QUOTE] Its The Same for me i don't know how to fix it can you look into this please heres some snapshots for it. [IMG]http://h-es-projects.co.cc/images/rp/rp_evocity2_v1p0026.jpg[/IMG] [IMG]http://h-es-projects.co.cc/images/rp/rp_evocity2_v1p0025.jpg[/IMG] [IMG]http://h-es-projects.co.cc/images/rp/rp_evocity2_v1p0023.jpg[/IMG] [IMG]http://h-es-projects.co.cc/images/rp/rp_evocity2_v1p0032.jpg[/IMG] [IMG]http://h-es-projects.co.cc/images/rp/rp_evocity2_v1p0028.jpg[/IMG] [IMG]http://h-es-projects.co.cc/images/rp/rp_evocity2_v1p0029.jpg[/IMG] [IMG]http://h-es-projects.co.cc/images/rp/rp_evocity2_v1p0027.jpg[/IMG]
The only problem I seem to have now is I can't set doors to "cops and mayor only".. all I get in chat is: /togglecpownable as if I said it in chat.
I added a car to my F4 and it showed up fine just, but didn't spawn when i bought it. I got this error: DataStreamServer Encoding Error: includes/modules/glon.lua:154: Tried to write unwriteable type: Vehicle (operation 4)
[QUOTE=Bounty_Bam;20118639]The only problem I seem to have now is I can't set doors to "cops and mayor only".. all I get in chat is: /togglecpownable as if I said it in chat.[/QUOTE] You didn't update your shared.lua
[QUOTE=Drakehawke;20120699]You didn't update your shared.lua[/QUOTE] AddDoorGroup("cops and mayor only", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR) AddDoorGroup("gundealer only", TEAM_GUN)
I was wondering, is it possible to edit the shared lua to create custom doors to make it so some buildings are restricted to citizens only?
[QUOTE=Bounty_Bam;20118639]The only problem I seem to have now is I can't set doors to "cops and mayor only".. all I get in chat is: /togglecpownable as if I said it in chat.[/QUOTE] Could you tell us other how you fixed it?
[QUOTE=JoeSkylynx;20134886]I was wondering, is it possible to edit the shared lua to create custom doors to make it so some buildings are restricted to citizens only?[/QUOTE] Yep, if your using SVN you can scroll to the lower area of your shared.lua and there will be a door grouping area thing where you can make custom door groups (its marked out so it will be impossible to miss).
[QUOTE=Prince;20135228]Could you tell us other how you fixed it?[/QUOTE] The vehicle thing? I ran an svn update and found 4 new files.. something like: entity.lua FPP_HUD.lua cl_init.lua ..and another. From then on I don't have the vehicle problem (as much). Sometimes, you have to buy the cardoor twice, but very rarely. As for the "set cops.. only", I still have that problem. EDIT: Reinstalled the lot and seems ok. However, is it just me or has OOC chat not worked for some time now?
Can you please in the next or update after Add a new tab to the F4 menu Called "Vehicals" and then the user can buy a Vehical and then after he joins next he can spawn the car again since he owns it still and try to get cop models or something combines are stupid. Or make a new tab called "Buy" and then the user can pick from cars,props,hats,and more.
[QUOTE=battlefield;20143651]Can you please in the next or update after Add a new tab to the F4 menu Called "Vehicals" and then the user can buy a Vehical and then after he joins next he can spawn the car again since he owns it still and try to get cop models or something combines are stupid. Or make a new tab called "Buy" and then the user can pick from cars,props,hats,and more.[/QUOTE] Good point, or you could make vehicles pocketable and make the pocket save items, like you said you would a while back.
Pocket that save, that should be the the top of the list, and sounds so fun. wouldnt be so hard for him to do since hes like a master coder!
How would I disable weapon spawning from the Q-menu for admins.
[QUOTE=GA phoenix;20147532]Pocket that save, that should be the the top of the list, and sounds so fun. wouldnt be so hard for him to do since hes like a master coder![/QUOTE] True, why does't he make darkrp2 or a way better gamemode with a more catchy name with those featurers and a invetory system.
[QUOTE=battlefield;20147858]True, why does't he make darkrp2 or a way better gamemode with a more catchy name with those featurers and a invetory system.[/QUOTE] Or we could just add those features on to this already awesome enough gamemode. If you hadn't noticed, this already is DarkRP2. [editline]02:09AM[/editline] [QUOTE=soccercrazy1;20147843]How would I disable weapon spawning from the Q-menu for admins.[/QUOTE] Open up the shared.lua of every single weapon in the Q menu, and change: SWEP.Spawnable and SWEP.AdminSpawnable To false.
[QUOTE=Drakehawke;20148012]Or we could just add those features on to this already awesome enough gamemode. If you hadn't noticed, this already is DarkRP2. [editline]02:09AM[/editline] Open up the shared.lua of every single weapon in the Q menu, and change: SWEP.Spawnable and SWEP.AdminSpawnable To false.[/QUOTE] Will people still be able to buy shipments?
[QUOTE=battlefield;20147858]True, why does't he make darkrp2 or a way better gamemode with a more catchy name with those featurers and a invetory system.[/QUOTE] Inventory system is the pocket, and I can see a saving pocket in the near future. And, this is DarkRP2[i].4[/i]. EDIT: Did anyone see me originally post DarkRP4.4 :P
[lua] hook.Add("OnGamemodeLoaded", "FixSpawnMenu", function() timer.Simple(5, function() local at = table.getn(g_SpawnMenu.CreateMenu.Items) + 1 while(at > 3) do at = at - 1 local thePanel = g_SpawnMenu.CreateMenu.tabScroller.Panels[at] thePanel:SetVisible(false) end g_SpawnMenu.CreateMenu.tabScroller:PerformLayout() g_SpawnMenu.CreateMenu:PerformLayout() g_SpawnMenu:PerformLayout() MsgN("Stupid tabs gone") end) end) [/lua] This removes all tabs except browse and props
Aww. That car bug is killing me. And the update didn't fix it. :(
[QUOTE=battlefield;20143651]Can you please in the next or update after Add a new tab to the F4 menu Called "Vehicals" and then the user can buy a Vehical and then after he joins next he can spawn the car again since he owns it still and try to get cop models or something combines are stupid. Or make a new tab called "Buy" and then the user can pick from cars,props,hats,and more.[/QUOTE] I made a new tab called "Garage", cars don't save yet though.. the BS lua coder made a savable garage slot in our own inventory system, but the new RP broke it. Currently been revised :)
[QUOTE=soccercrazy1;20148343]Will people still be able to buy shipments?[/QUOTE] Yeah.
Hey FPtje... Can you help me with making custom groups for the restriction tool of you, I can call u like "goede vrienden" xD
It's not that hard.
[QUOTE=battlefield;20118479]Its The Same for me i don't know how to fix it can you look into this please heres some snapshots for it. -shitload of giant pictures- [/QUOTE] My theory: Evocity, big map, lags a bit, big datastream delay, so it doesn't update? I'm not sure. Have you tried it on a different map?
[QUOTE=Drakehawke;20163238]My theory: Evocity, big map, lags a bit, big datastream delay, so it doesn't update? I'm not sure. Have you tried it on a different map?[/QUOTE] It doesnt work on rp_downtown neither.
Sorry, you need to Log In to post a reply to this thread.