15.01.2018, 18:10
Well, enums are tricky bests. Read up https://sampforum.blast.hk/showthread.php?tid=318307
If you have
Then _:a == 0 and _:b == 32
As for particular reason for what you see: string is just an array ended with NUL/0/'\0'/EOS (all the same value of 0), and all string functions know when string ends when they see it. See
If you have
pawn Код:
enum _e_faction_rank {
a[32],
b[32]
}
As for particular reason for what you see: string is just an array ended with NUL/0/'\0'/EOS (all the same value of 0), and all string functions know when string ends when they see it. See
pawn Код:
new boop[] = "Hello world";
print(boop); //Hello world
print(boop[3]); //lo world