Numos59 / darkrp

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

IsCP() function never used. #557

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What is the problem?
meta:IsCP() function is never used.

What steps will reproduce the problem?
Magic cookies?

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

Are you using the downloaded version or an SVN revision (if SVN, which
revision number)?
eh, I forget, but today's revision ;)

Please provide any additional information below.
Basically IsCP() is declared and never used, should edit all the if team 
functions to use this setting, would allow adding jobs much easier.

Original issue reported on code.google.com by samuel.m...@gmail.com on 13 Mar 2011 at 2:58

GoogleCodeExporter commented 8 years ago
entities\entities\darkrp_console\init.lua:
   26:  if activator:IsCP() and ValidEntity(self.dt.reporter) then
   33:  elseif not activator:IsCP() then

It IS being used.

Original comment by fpeijnen...@gmail.com on 13 Mar 2011 at 3:28

GoogleCodeExporter commented 8 years ago
But I should use it more, lol

Original comment by fpeijnen...@gmail.com on 13 Mar 2011 at 3:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Ah :) Yea.

I was adding some jobs so I went through and used it everywhere heh. 

/closed I guess.

Original comment by samuel.m...@gmail.com on 13 Mar 2011 at 4:54