• NutScript - Nutty name, serious framework
    2,778 replies, posted
3 days ago
not function PLUGIN:HookName() hook.Add("PrePlayerDraw", "PrePlayerDraw", IFPP_PrePlayerDraw) end but function PLUGIN:PrePlayerDraw() IFPP_PrePlayerDraw() end
Since I don't know how to request it on Github, Can anyone make a permakill/charban command For admins and above?
[QUOTE=afik068;44176759]Since I don't know how to request it on Github, Can anyone make a permakill/charban command For admins and above?[/QUOTE] Update NS, there's a /chardelete command already.
I still need help making my plugin run only when a player spawns on their character. Using PLUGIN:PlayerSpawn didn't help.
Oh yeah, by the way there are some issues with the way unownable doors and other persisted things are being saved. Every time my friend restarts his server there are always these specific doors that I have to make unownable and replace the health and armour stations that are also persisted from HL2. I don't know if this has been brought up before, but it's a bothersome issue as well.
[QUOTE=Ylsid;44176446]not function PLUGIN:HookName() hook.Add("PrePlayerDraw", "PrePlayerDraw", IFPP_PrePlayerDraw) end but function PLUGIN:PrePlayerDraw() IFPP_PrePlayerDraw() end[/QUOTE] Nope, that doesn't work. What I have now is fine. [editline]9th March 2014[/editline] I have a suggestion: On the clientside settings menu, can there be a slider for R, G, B to change the colour of chat?
[QUOTE=Boom Rainbow;44176820]Update NS, there's a /chardelete command already.[/QUOTE] What if the admin does a mistake and deletes the wrong character? I prefer having a command allowing an unban for a character. I think most people will agree on this.
[QUOTE=imacc2009;44178098]Nope, that doesn't work. What I have now is fine. [editline]9th March 2014[/editline] I have a suggestion: On the clientside settings menu, can there be a slider for R, G, B to change the colour of chat?[/QUOTE] I was giving you pseudocodeish to try and show you what you were doing wrong, not "copy and paste this" Yes the way you're doing it technically works but it's not what you're supposed to do and you're still essentially doing the same thing as you were before
[QUOTE=Boom Rainbow;44177613]Oh yeah, by the way there are some issues with the way unownable doors and other persisted things are being saved. Every time my friend restarts his server there are always these specific doors that I have to make unownable and replace the health and armour stations that are also persisted from HL2. I don't know if this has been brought up before, but it's a bothersome issue as well.[/QUOTE] Persisting from HL2? Why on Earth are you running a server on a default HL2 map? They aren't exactly made for RP. [QUOTE=afik068;44178799]What if the admin does a mistake and deletes the wrong character? I prefer having a command allowing an unban for a character. I think most people will agree on this.[/QUOTE] Be cautious who you give admin to and be sure you get it right. Alternatively, request that a character must be banned before they can be deleted.
How would i add a SCar as an Item?
[QUOTE=GTbrawlers;44179304]Persisting from HL2? Why on Earth are you running a server on a default HL2 map? They aren't exactly made for RP.[/quote] I think you missed what I was trying to say completely. I didn't say anything about a default map from HL2. I meant the health charger and suit charger from HL2 and they're disappearing as well after persisting them.
[url]https://github.com/Chessnut/NutScript/blob/master/gamemode/sv_config.lua#L65[/url]
Jesus Christ this Conna guy is an asshole Good to see a light-weight alternative that doesn't fuck itself unlike Clockwork
I'll see how that works, thanks. The other thing is when we use any person with the citizen animations, when they pick up a pistol they T-pose. Is there any solution to that currently? Edit: Nope that doesn't work. Unownable doors are still becoming ownable (some of them.) and stuff seems to also despawn.
Which model is using the citizen animation? It probably doesn't use citizen animations.
Well I tested this with the default citizen model from the HL2 RP schema and other models from: [url]http://steamcommunity.com/sharedfiles/filedetails/?id=114502372[/url] Which I made have the "citizen_male" animation. Both T-pose when holding anything "pistol" type.
enhanced citizens is bad because some bodygroups on males/females are different
[QUOTE=Johnny Guitar;44183649]enhanced citizens is bad because some bodygroups on males/females are different[/QUOTE] It's generally consistent for the male models besides special ones that have a glasses body group (afaik), I just don't know how to change between more than two torsos, but yeah just the "citizen_male" anim T-poses for models holding a pistol. That's my priority right now at least.
Does the server have the models?
I get problems with t posing at times as well, with pistols
[QUOTE=Chessnut;44185224]Does the server have the models?[/QUOTE] Yes.
How to add new models to the factions with different skins? EDIT: And for some reason my playermodel's fists are always up [thumb]http://ssmaker.ru/cee7f370.jpg[/thumb]
[QUOTE=GaMeRaM;44188504]How to add new models to the factions with different skins? EDIT: And for some reason my playermodel's fists are always up [thumb]http://ssmaker.ru/cee7f370.jpg[/thumb][/QUOTE] You need to use NPC Model to get proper animations.
[QUOTE=GaMeRaM;44188504]How to add new models to the factions with different skins? EDIT: And for some reason my playermodel's fists are always up [thumb]http://ssmaker.ru/cee7f370.jpg[/thumb][/QUOTE] That is some messed up animation right there, looks like he should be bouncing side to side ready to hit someone, street fighter style.
[QUOTE=GaMeRaM;44188504]How to add new models to the factions with different skins? EDIT: And for some reason my playermodel's fists are always up [thumb]http://ssmaker.ru/cee7f370.jpg[/thumb][/QUOTE] That happened to one of my models. It was a playermodel, not an NPC model.
Happy to say we launched ArmyRP for Dark-Fraction on nutscript an hour and a half ago and we've been full for the last hour with 40 out of 40 people. Hooray to Chessnut for making this great Framework!
[QUOTE=afik068;44194017]Happy to say we launched ArmyRP for Dark-Fraction on nutscript an hour and a half ago and we've been full for the last hour with 40 out of 40 people. Hooray to Chessnut for making this great Framework![/QUOTE] how you be so successful. My server got two players on its first day. :(
[QUOTE=imacc2009;44194248]how you be so successful. My server got two players on its first day. :([/QUOTE] We had a playerbase already, DF been around for 2 years. ARP revived today after 6 months. pics: [url]http://cloud-3.steampowered.com/ugc/794063002671746323/88E40E4CE4FA2FBCDB322D7AA60E69D98B257EEC/[/url] [url]http://cloud-3.steampowered.com/ugc/794063002671742976/A56BD9B4AB3C049B482151692E19E901F2BA0064/[/url] [url]http://cloud-2.steampowered.com/ugc/794063002671739683/51548637A836D8B9C7CD008B9A985FE453BD4B08/[/url] [url]http://cloud-3.steampowered.com/ugc/794063002671736466/9575A11BEC6606B2953E9B82868171E08F3BA3B3/[/url] [url]http://cloud-3.steampowered.com/ugc/794063002671733162/4510B5BD68D598EE53A36BEE1275CBB04C5CD97F/[/url] [url]http://cloud-4.steampowered.com/ugc/794063002671749137/664712ED8648F69BC38AC892B1BF06BB23A3D298/[/url]
Hate to sound dumb, but how are the CharacterVars saved/loaded? How do I save my own data? When i was experimenting with it, it attempted to place the data into the database, but it didn't have the column, so I added the column and it saved, but it doesn't load? What do I have to edit to make them load when a character is loaded? Or am I missing something here?
Sorry, you need to Log In to post a reply to this thread.