21.06.2012, 20:56
That's a lot of unnecessary coding. This should work:
pawn Код:
#include <a_samp>
new RandomMSG[][] =
{
"* SERVER:New here?, go visit us forum for all info about the server.",
"* SERVER:Dont registered in us server?, /register and you will be automatically logged in.",
"* SERVER:Dont worry about your stats, if you are registered it will be automatically saved."
};
forward SendMSG();
public OnGameModeInit()
{
SetTimer("SendMSG", 60000, true);
return 1;
}
public SendMSG()
{
new randMSG = random(sizeof(RandomMSG));
SendClientMessageToAll(0xFFFFFF, RandomMSG[randMSG]);
return 1;
}