24.03.2013, 09:15
Код:
forward SendMSG();
#include <a_samp>
#include <core>
#include <float>
#include <streamer>
#include <ZCMD>
#define ADMINFS_MESSAGE_COLOR 0xFF444499
#define PM_INCOMING_COLOR 0xFFFF22AA
#define PM_OUTGOING_COLOR 0xFFCC2299
#pragma tabsize 0
stock const RandomMSG[][] = // Should be stock const since this data does not get modified
{
"{ffff00}[RE] Message: Bored? Listen to /music, /music2 and /radio!",
"{ffff00}[RE] Message: Use /car to spawn a car.",
"{ffff00}[RE] Message: Use /god and /godcar if you don't want to die or your car explodes.",
"{ffff00}[RE] Message: Need boost in car? Use /boost now!",
"{ffff00}[RE] Message: Always read /rules, obey to the /rules.",
"{ffff00}[RE] Message: Check out our /cmds, /teles and /help!",
"{ffff00}[RE] Message: Spotted a cheater? Use /report [id] [reason]",
"{ffff00}[RE] Message: Do not ask for admin in chat. This will just reduce your chance.",
"{ffff00}[RE] Message: Add our server into favorite list! 66.85.141.90:7777",
"{ffff00}[RE] Message: Our partner, [SR], Stunt Revolution. 66.85.137.90:7777"
}; // <-------------- You forgot the semi-colon here!
public SendMSG() { SendClientMessageToAll(0xFFFFAAAA, RandomMSG[random(sizeof(RandomMSG))]); }

