24.09.2011, 03:48
Frankly quite pointless how you're setting a timer on onplayerspawn to show an Objective message.
Yet you're also creating a pointless 32 bit variable which isn't needed.
and again for the timer variable.
Timer[MAX_PLAYERS (500)]
so, why not use a "char" array on this as well? You're only using it on the Logged part and that can be done with a boolean.
Not to discriminate your scripting methods as a beginner. Just improvements of what you should fix and do once you're making bigger gamemodes.
Char arrays allow 255 people to use it. I'm not sure if this is true however, it's interesting.
pawn Код:
Intro[playerid] = SetTimerEx("Introing1",15000,0,"d",playerid);
pawn Код:
new a = strlen(inputtext);
Timer[MAX_PLAYERS (500)]
so, why not use a "char" array on this as well? You're only using it on the Logged part and that can be done with a boolean.
Not to discriminate your scripting methods as a beginner. Just improvements of what you should fix and do once you're making bigger gamemodes.
Char arrays allow 255 people to use it. I'm not sure if this is true however, it's interesting.