View Single Post
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 02-01-2012 , 13:28   Re: CT-C4 (CT can pickup the bomb)
Reply With Quote #22

Quote:
Originally Posted by Jasonbourne View Post
if you using the most recent code posted by TnTSCS

and this is still happening

let me know ill have a look as well
Thanks jason - I changed it to the entity of the bomb onentitycreated - maybe this is causing the issue with how the author originally handled the interruption of the CT planting the bomb. - has nothing to do with bomb entity, but client entity

Trying to fix plugins mid week when still stressed from work is not a good idea for me apparently

...:: TnT Edit ::...

I changed line 39 from OnClientConnected(client) to public OnClientAuthorized(client) - I think that may be the issue. Maybe OnClientPutInServer is more appropriate?

BTW, in this version and the original, bots can pick up the bomb as CT, did you want that or no?

...:: TnT Edit ::...

GoD-Tony advised to use OnClientPutInServer, so that's what it is now - version 1.1a
Attached Files
File Type: smx ctc4.smx (4.5 KB, 120 views)
File Type: sp Get Plugin or Get Source (ctc4.sp - 473 views - 3.8 KB)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 02-01-2012 at 13:47.
TnTSCS is offline