General > Developers Corner

Quiz...

(1/1)

Mindless:
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?

nathan736:
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.

Mindless:
Eh really, didnt help.

JamminR:
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.

Navigation

[0] Message Index

Go to full version