will this work?
#1

I did the following to my code:

Код:
#undef MAX_TEXT_DRAWS
#define MAX_TEXT_DRAWS 2048
basically doubled my max textdraws... will this work? it compiled with 0 errors and warnings
Reply
#2

Try it? On 127.0.0.1:7777 open your server and try i yourself.
Reply
#3

:P I'm not at mah houzzzz
Reply
#4

No dude, defines don't control anything, it won't make it work with more like you can't do this:

pawn Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS 1000000
That won't allow 1m people to play on my server it will just make the define 1m instead of 200, my loops will now goto 1m instead of going to 200 but the server will still only recognise 200 players.
Reply
#5

well players =/= textdraws

each player is an incoming connection, whereas textdraws are (in most cases) out going connection, so it might be entirely server sided

then again, im just a spoon-fed n00b so
Reply
#6

It's nothing to do with the server is what I was getting at dude, the macros are kindly put there by the devs so we won't keep asking "how many players or textdraws can I have ?", they don't control anything and for example the MAX_TEXT_DRAWS amount will be the same in the server so the server will only ever sync that many (it's internal amount not your scripts macro amount).
Reply
#7

Although it should be a choice when it comes to textdraws, seeing how the only side affect of adding more is a slower load time. the 1000 limit is the reason why my textdraw menus can only use 5 per player, and I have to keep reusing those 5 =(
Reply
#8

I was just hoping to get good news today oh well, time to test out your BlackJack FS
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)