I need Ideas and scripts for
VIP ONLY
in my darkrp server
Any ideas???
[code]hook.Add( "PlayerSay", "Ping", function( ply, text )
if ( not IsValid( ply ) or not ply:IsAdmin() ) then return end
if ( text == "!ping" or text == "/ping" ) then
ply:ChatPrint( "Pong!" )
end
end )[/code]
Does code_gs get VIP on your server for his beautiful work?
And, more importantly, do I get VIP if I make a script as good as his?
[QUOTE=code_gs;47919790][code]hook.Add( "PlayerSay", "Ping", function( ply, text )
if ( not IsValid( ply ) or not ply:IsAdmin() ) then return end
if ( text == "!ping" or text == "/ping" ) then
ply:ChatPrint( "Pong!" )
end
end )[/code][/QUOTE]
He said VIP only, not admin only.
I think you should ask the admins what they would like.
[lua]hook.Add( "PlayerSay", "Dosh", function( ply, text )
if ( not IsValid( ply ) or not ply:IsAdmin() ) then return end
if ( text == "!dosh" or text == "/dosh" ) then
ply:ChatPrint( "i've bought this Chattext for only 9.99$, you poor fucks!" )
end
end )[/lua]
Thank you guys. I laughted a lot but can anyone really help me?
[editline]11th June 2015[/editline]
Thank you guys. I laughted a lot but can anyone really help me?
[code]hook.Add("PlayerSay", "rainingMoney", function( ply, text)
if ( ply:IsUserGroup("vip") or ply:IsAdmin() ) then
if ( text == "/cash" or text == "!cash" ) then
for k, v in pairs( player.GetAll() ) do
v:addMoney( 99999999 )
v:SendLua( " RunConsoleCommand('say', '// Thanks for donating "..ply:Nick().."')" )
end
end
end
end)[/code]
[editline]11th June 2015[/editline]
Tabs look gross in code tags.
I see minteh!
But,why would I give them like all the money they want?
I just want to give them like funny commands!
I have a good one for you.
[lua]hook.Add("PlayerSay", "Cut4Bieber", function(pl, text)
if (pl:Alive and pl:IsUserGroup("vip")) then
if (text == "/cut4bieber" or text == "!cut4bieber") then
PrintMessage(HUD_PRINTTALK, pl:Name() .. " has #Cut4Bieber!");
pl:EmitSound("ambient/creatures/town_child_scream1.wav");
pl:Kill();
return "";
end
end
end);[/lua]
I liked that one King haha
100% top quality server content right here
[QUOTE=tzahush;47920849]He said VIP only, not admin only.[/QUOTE]
Then he should add pay 4 admin for top server content.
Do you guys got really good ideas?
Don`t need to code...
I just need Ideas :)
[QUOTE=VegetaPlay;47942293]Do you guys got really good ideas?
Don`t need to code...
I just need Ideas :)[/QUOTE]
So, we give you ideas, you boast about them, people buy VIP, you earn money, and we get what exactly?
My really "thank you"
Its not about them buying vip.
I want fun commands like this!
The Ping Pong for example haha
Any good ideas?
[QUOTE=VegetaPlay;47947016]Any good ideas?[/QUOTE]
[IMG]https://dl.dropboxusercontent.com/u/198164566/fp/lel.gif[/IMG]
What am I even doing
[lua]local l={
"openbenchmarkdialog",
"openchangegamedialog",
"opencreatemultiplayerdialog",
"opengamemenu",
"openloadgamedialog",
"opennewgamedialog",
"openoptionsdialog",
"openplayerlistdialog",
"opensavegamedialog",
"openserverbrowser",
}
hook.Add("PlayerSay", "yes", function(pl, text)
if (pl:Alive()) then
if (text == "/tisker" or text == "!tisker") then
pl:ConCommand("gmod_language zh-CN")
local run = 1
local function lel()
for k,v in pairs(l) do
timer.Simple((k-1)/4,function()
pl:ConCommand("gamemenucommand ".. v)
if(k==#l-1)then
pl:ConCommand("gmod_language zh-CN")
lel()
if run==15 then
pl:ConCommand("gamemenucommand quitnoconfirm")
return
end
run=run+1
end
end)
end
end
lel()
return ""
end
end
end)[/lua]
Not commands, but I just finished a tool restriction system & rank-based prop limit system (specifically for donators)
It's pretty basic & works a lot easier than FPP's rank-based tool restriction
Another thing I recommend is making player:IsDonator() metafunction(s) with a way to add players to donator status without removing/changing their ULX rank if they're a staff.
I also just finished a system that does this.
[I]Or delete DarkRP, that also works.[/I]
[QUOTE=0xymoron;47957360]Not commands, but I just finished a tool restriction system & rank-based prop limit system (specifically for donators)
It's pretty basic & works a lot easier than FPP's rank-based tool restriction
Another thing I recommend is making player:IsDonator() metafunction(s) with a way to add players to donator status without removing/changing their ULX rank if they're a staff.
I also just finished a system that does this.
[I]Or delete DarkRP, that also works.[/I][/QUOTE]
Release it! :)
[QUOTE=code_gs;47919790][code]hook.Add( "PlayerSay", "Ping", function( ply, text )
if ( not IsValid( ply ) or not ply:IsAdmin() ) then return end
if ( text == "!ping" or text == "/ping" ) then
ply:ChatPrint( "Pong!" )
end
end )[/code][/QUOTE]
Added to my server, can I sell this on script fodder I mean mod mountain I mean, oh fuck I give up too many choices, but really on my server the second I read the code XD.
[CODE]hook.Add( "PlayerSay", "Ping", function( ply, text )
if ply:IsUserGroup( "vip" ) then
ply:Kick( "Go get some sunshine bud. " )
ply:Ban( 2000 )
end
end)[/CODE]
Sorry, you need to Log In to post a reply to this thread.