Ulysses
General => Developers Corner => Topic started by: Mindless on April 02, 2013, 10:05:06 PM
-
Well basically im a newbie, but I would like a plugin where they must complete a quiz on roleplay terms and if they pass it gets stored, i'm not good with coding but is anyone able to help me?
-
so something like this ?
function firstspawn (ply)
local test = ply:GetPData( "first time", true )
name = ply:Nick()
if test then
derma stuff goes here
--when they finish have this action ply:SetPData( "first time", false ) or if they fail do ply:Kick( name.." was kicked for not knowing how to play Dark rp" )
end
hook.Add( "PlayerInitialSpawn", "firstspawnpanel", firstspawn )
that should get you started
ps: this is the rough way to do it.
-
Eh really, didnt help.
-
You're not asking someone to 'help' you, so much as asking someone to write the code for you out-right.
Not necessarily a bad thing....just clarifying what it is so others who 'help' really know.