I have error

Locked
Whispere
Posts: 25
Joined: Sun Jan 17, 2010 5:22 pm

I have error

Post by Whispere »

Hello,
I have error in game on some maps,
when I m playing map, map shut down and I see this:

Code: Select all

could not find item for weapon 18
Where is error?
Thanks
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: I have error

Post by ^misantropia^ »

In your code. :)

Have you been adding / modifying the weapons?
Whispere
Posts: 25
Joined: Sun Jan 17, 2010 5:22 pm

Re: I have error

Post by Whispere »

^misantropia^ wrote:In your code. :)

Have you been adding / modifying the weapons?
Yes, I adding some weapons, I know, that error is in my code around the weapons.
File with this error or it is in more files?

PS: I HAVE IT, I found error, It was stupid error.
Whispere
Posts: 25
Joined: Sun Jan 17, 2010 5:22 pm

Re: I have error

Post by Whispere »

I have next error.
When I playing TDM, CTF or ZM (modified TDM) I can kill my teammates, but when I m playing SLIDE (new TDM, copy of TDM) I can´t kill my teammates, Only in SLIDE I can´t kill my teammates, I want that I can´t kill my teammates in TDM, CTF, ZM and when I killed teammate I give +1 score :(. I tried write to console /g_friendlyfire 0, but it is not doing.
bitWISE
Posts: 10704
Joined: Wed Dec 08, 1999 8:00 am

Re: I have error

Post by bitWISE »

Search the code for g_friendlyfire and follow the trails. This should eventually lead you to the function that runs to decide whether a gun shot someone or not.
Whispere
Posts: 25
Joined: Sun Jan 17, 2010 5:22 pm

Re: I have error

Post by Whispere »

bitWISE wrote:Search the code for g_friendlyfire and follow the trails. This should eventually lead you to the function that runs to decide whether a gun shot someone or not.
Thanks for advice, but the problem was around my terms of new gametypes.
Locked