weeztor / darkrp

Automatically exported from code.google.com/p/darkrp
0 stars 1 forks source link

CP issue #844

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the problem?

When adding custom jobs to the CP function I insert into this code

function meta:IsCP()
    local Team = self:Team()
    return Team == TEAM_POLICE or Team == TEAM_CHIEF or TEAM == TEAM_TEF or TEAM == TEAM_TEFCHIEF or TEAM == TEAM_TEFMED or Team == TEAM_MAYOR
end

however it is not showing the option under the first tab of the menu... am I 
missing something?

What steps will reproduce the problem?
N/A

Do you have any errors? serverside or clientside? If you do, which ones?
N/A

Are you using the downloaded version or an SVN revision (if SVN, which
revision number)?
SVN <Current>

Please provide any additional information below.

Original issue reported on code.google.com by sexforlo...@gmail.com on 3 Jun 2012 at 1:43

GoogleCodeExporter commented 9 years ago
ply:IsCP is serverside. Unless you implement some form of RPC, you won't be 
able to call ply:IsCP() clientside.

That's technical brabble, but it looks like you have no clue about what you're 
doing, so I can't help.

Original comment by fpeijnen...@gmail.com on 3 Jun 2012 at 10:07

GoogleCodeExporter commented 9 years ago
Or try and explain it and I could do my best, can't really teach someone what 
they are doing wrong if you aren't willing to help either.

I obviously posted here so I could learn what I'm doing wrong and how to 
correct it...after all this is your Project is it not?

Original comment by sexforlo...@gmail.com on 3 Jun 2012 at 9:42

GoogleCodeExporter commented 9 years ago
This is an issue tracker, not a help forum. you're in the wrong place to ask 
this. 

Original comment by fpeijnen...@gmail.com on 4 Jun 2012 at 5:33