forward SendMSG(playerid);
public SendMSG(playerid)
{
foreach(Player, i)
{
new randMSG = random(10);
new namemsg[25],stringmsg[256];
GetPlayerName(i, namemsg, sizeof(namemsg));
switch(randMSG)
{
case 0:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, our server forum is {FF0000} www.ActionGaming.Ro.",namemsg);
SCM(i, -1, stringmsg);
}
case 1:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you want to work on our server write {FFFF00}/jobs.",namemsg);
SCM(i, -1, stringmsg);
}
case 2:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you want to see the news of our server write {FFFF00}/update.",namemsg);
SCM(i, -1, stringmsg);
}
case 3:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you want a department leader, you need 50 hours on the server {FFFF00}/stats.",namemsg);
SCM(i, -1, stringmsg);
}
case 4:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you want a leader at any faction outside the departments, you need 10 hours to play on the server {FFFF00}/stats.",namemsg);
SCM(i, -1, stringmsg);
}
case 5:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you have a question about the server do not hesitate to ask {FFFF00}/n.",namemsg);
SCM(i, -1, stringmsg);
}
case 6:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you have a problem with the server /forum /panel do not hesitate to tell us {FFFF00}/report.",namemsg);
SCM(i, -1, stringmsg);
}
case 7:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, real money businesses are banned and punished with {FF0000}ban.",namemsg);
SCM(i, -1, stringmsg);
}
case 8:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you want to make a donation, talk to an admin of {FF0000}level 7.",namemsg);
SCM(i, -1, stringmsg);
}
case 9:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you want to see the facilities of a premium account it uses {FFFF00}/premium",namemsg);
SCM(i, -1, stringmsg);
}
case 10:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, if you want to see factions the server uses {FFFF00}/factions.",namemsg);
SCM(i, -1, stringmsg);
}
case 11:
{
format(stringmsg, sizeof(stringmsg), "{FF0000}%s{ffffff}, do not forget to call your friends to play with us.",namemsg);
SCM(i, -1, stringmsg);
}
}
}
}
public OnGameModeInit()
{
SetTimer("SendMSG", 300000, 1);
return 1;
}