house sistem
#5

Quote:
Originally Posted by Misiur
Посмотреть сообщение
Erm, not, it does not equal that, and doing it this way would introduce dialog id collisions.
You'd have to use something like
pawn Код:
enum
{
    HOUSE_MENU = 2013,
    HOUSE_LEVEL,
    HOUSE_INTERIOR
}
Good article about it: https://sampforum.blast.hk/showthread.php?tid=318307
I think you are wrong! As I have read that article now, he says this part
Quote:

The pre-compiler automatically sets the values of these constants starting from 0 to .. n
Whereas in making constants, you are the one who has to assign it. But in enum, it's automatically structured.

In an enum it's automatically set from number 0 etc. Or Im I wrong?
Reply


Messages In This Thread
house sistem - by xAlecsu - 17.08.2017, 20:36
Re: house sistem - by JasonRiggs - 17.08.2017, 23:13
Re: house sistem - by xLucy - 18.08.2017, 09:34
Re: house sistem - by Misiur - 18.08.2017, 09:38
Re: house sistem - by Immortal99 - 18.08.2017, 11:41
Re: house sistem - by Misiur - 18.08.2017, 11:46
Re: house sistem - by Immortal99 - 18.08.2017, 11:54
Re: house sistem - by xAlecsu - 19.08.2017, 17:44
Re: house sistem - by TheCman - 19.08.2017, 18:56
Re: house sistem - by xAlecsu - 19.08.2017, 19:56

Forum Jump:


Users browsing this thread: 1 Guest(s)