Forum

> > CS2D > General > id 12-19?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English id 12-19?

6 replies
To the start Previous 1 Next To the start

old id 12-19?

mortyr22
User Off Offline

Quote
Weapons list dont have weapons 12-19 id!
what is it 12id-19id?!

old Re: id 12-19?

ohaz
User Off Offline

Quote
0-10 are pistols, 10-20 shotguns, 20-30 smgs, and so on. Later, the numbers are just in a row, because you can't buy them
but those where no id exists, just don't exist like MiroslavR said

old Re: id 12-19?

mortyr22
User Off Offline

Quote
if this wepons do not exist.why creator create 12id-19id
you can write in console:equip 1 12:you dont have any item

old Re: id 12-19?

DC
Admin Off Offline

Quote
@Duane: correct.

@mortyr22:
umm.. what a pointless thread? I did not create items with these IDs. That's why there are no items with these IDs. I also did NOT create the IDs?! IDs are just numbers and everyone knows that there are the numbers 12 to 19! I did NOT create these numbers - they simply exist
you could also ask why there are no items with id -5 or id 241. pointless!

TheKilledDeath already explained the background of this: There are "ID spaces" (like name spaces). IDs 1-9 are reserved for pistols, 10-19 are reserved for shotguns and so on.
These spaces are used to keep a certain order and to simplify programming (I can simply check if a weapon ID is >=10 and <=19 and I'll know that it is a shotgun).

These spaces do only exist for stuff in the buymenu. I didn't use them in higher ID ranges (also because the highest possibly ID is 255 as I use bytes to save and send the IDs).

old Re: id 12-19?

chuico123
User Off Offline

Quote
but theres IDs that arent in the map editor, however they exist! like ID 50, its knife (equip X 50), but u cant put that on editor bcoz u always start whit knife

al i have a question, that are the IDs of the bomb, R flag and B flag? bcoz i saw some severs where admin equiped players whit flag
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview