[GameMode] Grants DM Script (SIMPLE)
#10

Frankly quite pointless how you're setting a timer on onplayerspawn to show an Objective message.

pawn Код:
Intro[playerid] = SetTimerEx("Introing1",15000,0,"d",playerid);
Yet you're also creating a pointless 32 bit variable which isn't needed.

pawn Код:
new a = strlen(inputtext);
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.
Reply


Messages In This Thread
Grants DM Script (SIMPLE) - by grantism - 22.09.2011, 16:01
Re: Grants DM Script (SIMPLE) - by N.K.Stallone - 23.09.2011, 09:16
Re: Grants DM Script (SIMPLE) - by Max_Coldheart - 23.09.2011, 13:12
Re: Grants DM Script (SIMPLE) - by Skank - 23.09.2011, 13:22
Re: Grants DM Script (SIMPLE) - by N.K.Stallone - 23.09.2011, 13:33
Re: Grants DM Script (SIMPLE) - by Max_Coldheart - 23.09.2011, 13:45
Re: Grants DM Script (SIMPLE) - by N.K.Stallone - 23.09.2011, 13:51
Re: Grants DM Script (SIMPLE) - by Edvin - 23.09.2011, 15:18
Re: Grants DM Script (SIMPLE) - by grantism - 24.09.2011, 01:26
Re: Grants DM Script (SIMPLE) - by Lorenc_ - 24.09.2011, 03:48

Forum Jump:


Users browsing this thread: 1 Guest(s)