26.11.2010, 17:37
Heres the one i tested compiles fine
pawn Код:
#include <a_samp>
#include <streamer>
#define NICE_BLUE 0xa0d3ffAA
#define GREEN 0x21DD00FF
#define RED 0xE60000FF
#define ADMIN_RED 0xFB0000FF
#define YELLOW 0xFFFF00FF
#define ORANGE 0xF97804FF
#define LIGHTRED 0xFF8080FF
#define LIGHTBLUE 0x00C2ECFF
#define PURPLE 0xB360FDFF
#define PLAYER_COLOR 0xFFFFFFFF
#define BLUE 0x1229FAFF
#define LIGHTGREEN 0x38FF06FF
#define DARKPINK 0xE100E1FF
#define DARKGREEN 0x008040FF
#define ANNOUNCEMENT 0x00CACAFB
#define AFK 0x6AF7E1FF
#define COLOR_SYSTEM 0xEFEFF7AA
#define PLAYER_VIEW 0xC0C0C0FF
#define COLOR_GRAD1 0xB4B5B7FF
#define NICESKY 0x99FFFFAA
#define GRAY 0xCECECEFF
#define purple 0xC2A2DAAA
///////////////////////////////////////////////////
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/highway", cmdtext, true, 9) == 0)
{
SetPlayerPos(playerid, 1217.3299560547,1244.5386962891,7.453125);
SendClientMessage(playerid,YELLOW,"Welcome to Las Vegas Highway !");
return 1;
}
return 0;
}