tAuthentication
#10
I recommend adding a return after each TDI.FinalDamage so it doesn't have to check every one if it is one.

Also, this does no checking if the player is authenticated.

Why dont you just do :
ontakedamage()
if isplayerauthenticated(reciever.name) then
TDI.FinalDamage = 0
end
return
Reply
Thanks given by:


Messages In This Thread
tAuthentication - by NiLSPACE - 12-28-2012, 07:37 AM
RE: tAuthentication - by NiLSPACE - 12-29-2012, 12:19 AM
RE: tAuthentication - by NiLSPACE - 01-08-2013, 06:36 AM
RE: tAuthentication - by bearbin - 01-08-2013, 06:43 AM
RE: tAuthentication - by NiLSPACE - 01-08-2013, 06:55 AM
RE: tAuthentication - by bearbin - 01-08-2013, 05:40 PM
RE: tAuthentication - by NiLSPACE - 01-09-2013, 04:18 AM
RE: tAuthentication - by bearbin - 01-09-2013, 04:41 AM
RE: tAuthentication - by NiLSPACE - 01-27-2013, 12:38 AM
RE: tAuthentication - by bearbin - 01-27-2013, 01:04 AM
RE: tAuthentication - by bearbin - 01-27-2013, 03:50 AM
RE: tAuthentication - by NiLSPACE - 01-27-2013, 03:56 AM
RE: tAuthentication - by bearbin - 01-27-2013, 03:57 AM
RE: tAuthentication - by NiLSPACE - 01-27-2013, 03:57 AM
RE: tAuthentication - by ThuGie - 01-27-2013, 05:18 AM
RE: tAuthentication - by bearbin - 01-27-2013, 05:35 AM
RE: tAuthentication - by bearbin - 01-27-2013, 07:24 AM
RE: tAuthentication - by NiLSPACE - 01-27-2013, 07:54 AM
RE: tAuthentication - by ThuGie - 01-27-2013, 07:56 AM
RE: tAuthentication - by NiLSPACE - 01-27-2013, 08:07 AM
RE: tAuthentication - by ThuGie - 01-27-2013, 08:14 AM
RE: tAuthentication - by NiLSPACE - 01-27-2013, 08:24 AM
RE: tAuthentication - by bearbin - 01-27-2013, 05:04 PM
RE: tAuthentication - by bearbin - 01-27-2013, 06:10 PM
RE: tAuthentication - by NiLSPACE - 01-27-2013, 07:02 PM
RE: tAuthentication - by bearbin - 01-27-2013, 07:09 PM
RE: tAuthentication - by NiLSPACE - 01-27-2013, 07:11 PM
RE: tAuthentication - by bearbin - 01-27-2013, 09:18 PM
RE: tAuthentication - by FakeTruth - 01-28-2013, 12:44 AM
RE: tAuthentication - by NiLSPACE - 01-28-2013, 12:48 AM
RE: tAuthentication - by FakeTruth - 01-28-2013, 01:27 AM
RE: tAuthentication - by NiLSPACE - 01-28-2013, 01:35 AM
RE: tAuthentication - by xoft - 01-28-2013, 03:19 AM
RE: tAuthentication - by ThuGie - 01-28-2013, 04:16 AM
RE: tAuthentication - by FakeTruth - 01-28-2013, 05:49 AM
RE: tAuthentication - by NiLSPACE - 01-28-2013, 05:53 AM
RE: tAuthentication - by FakeTruth - 01-28-2013, 05:58 AM
RE: tAuthentication - by bearbin - 01-28-2013, 06:41 AM
RE: tAuthentication - by NiLSPACE - 01-29-2013, 12:48 AM
RE: tAuthentication - by FakeTruth - 01-29-2013, 05:46 PM
RE: tAuthentication - by ThuGie - 01-30-2013, 05:10 AM



Users browsing this thread: 8 Guest(s)