Is there a static prop/static entity plugin yet? Thanks!
Wait, so, where can i find a sample schema for 1.1? Cause i just edited HL2RP
--edit
Oaky so i used modernrp as a base instead. Just gutted it for a skeleton. Now im trying to add commands and its not working. I had this problem before also.
[CODE]nut.command.add("doorkick", {
onRun = function(client, arguments)
local aimVector = client:GetAimVector()
local data = {}
data.start = client:GetShootPos()
data.endpos = data.start + aimVector*96
data.filter = client
local entity = util.TraceLine(data).Entity
if (IsValid(entity) and entity:GetClass() == "prop_door_rotating") then
if (client:forceSequence("kickdoorbaton")) then
timer.Simple(0.75, function()
if (IsValid(client) and IsValid(entity)) then
entity:EmitSound("physics/wood/wood_crate_break"..math.random(1, 5)..".wav", 150)
entity:blastDoor(aimVector * (360 + client:getChar():getAttrib("str", 0)*5))
end
end)
end
else
return "@dNotValid"
end
end
})
nut.command.add("requestid", {
onRun = function(client, arguments)
local ent = client:GetEyeTrace().Entity
if(ent) then
if(ent:GetClass()=="nut_talker")then
if(ent.hasID==true)then
if SERVER then
net.Start( "openID" )
net.WriteEntity(ent)
net.WriteInt(ent:EntIndex())
net.WriteTable(ent.info)
net.Send( client )
end
else
client:ConCommand( "say /it "..client:Nick().." would ask for thier ID. The citizen tell"..client:Nick().." that they do not have thier ID on them." )
end
end
end
end
})
nut.command.add("returnid", {
onRun = function(client, arguments)
local ent = client :GetEyeTrace().Entity
if(ent) then
if(ent:GetClass()=="nut_talker")then
if(ent.hasID==false)then
client:ConCommand( "say /me would extend his arm with the the ID in his hand, handing it back to the citizen." )
ent.hasID=true
else
client:ConCommand( "say /me would extend his arm before realizing that he had forgot that he didnt have the citizens ID." )
end
end
end
end
})
[/CODE]
I also have a problem with using net libary in nutscript 1.1 ..
You should check out Hammerfall Network's Nutscript server, Jedi vs Sith. We have a custom saber system, with multiple stances and a ton of animations.
Join @ steam://connect/104.153.108.26:27015
[highlight](User was permabanned for this post ("DUMB advertising gimmick" - postal))[/highlight]
Does anyone know how I might disable attributes in game, and in the f1 menu? as well setting it so recognize is disabled so they don't have to recognize people when they join... and how to set door groups?
I was wondering is there was a console command for whitelisting? We have a donation system and we have the ability to make it do console commands but we cant find a way to whitelist like that. It would help a lot. Any help?
[QUOTE=ERIN;49584916]I was wondering is there was a console command for whitelisting? We have a donation system and we have the ability to make it do console commands but we cant find a way to whitelist like that. It would help a lot. Any help?[/QUOTE]
I am sure there is concommands since you run them in game with /flags, or just make one?
/doorsetunownable isn't saving. Neither are bought doors or faction set doors. Even when simply changing the map, they wipe.
Also, I can't pickup anything with the physgun, or do anything with the toolgun to spawned props. I don't have anything but HL2RP and NS and ULX, and a few plugins (didnt work even before I added the plugins though). And I am set to superadmin on ULX, and gave myself all flags.
And finally, rebel clothing is gone? I swear it was in 1.0 HL2RP by default.
The "YOU ARE DEAD" screen stays forever and people have to reconnect to respawn. How to fix?
[QUOTE=RonanZer0;49796751]The "YOU ARE DEAD" screen stays forever and people have to reconnect to respawn. How to fix?[/QUOTE]
You have permakill enabled or some NutScript plugin/ Garry's Mod addon is interfering with it. If you continue to have problems post on the nut script website or gitter.
How come I can't tie or search knocked out players? I also can't seem to move them without physgun. Will that be fixed?
[QUOTE=ERIN;49584916]I was wondering is there was a console command for whitelisting? We have a donation system and we have the ability to make it do console commands but we cant find a way to whitelist like that. It would help a lot. Any help?[/QUOTE]
I am still looking for a way to do this! Thanks!
Is there a 1.0 healthbar fix?
Also, how would I stop pronemod from displaying errors every few seconds in the chat in 1.0 if both wOS and standalone pronemod are installed in addition to the NutScript version?
This is 2 years old thread mate, you can go to Discord and get some help
Sorry, you need to Log In to post a reply to this thread.