25.09.2013, 11:30
Is COLOR_YELLOW defined BEFORE SpeedHack?
It should be:
It should be:
pawn Код:
#includes <a_samp>
// other includes..
#define COLOR_YELLOW 0xFFFF00AA
// others
forward SpeedHack(playerid);
public SpeedHack(playerid) {
if(GetVehicleSpeed(GetPlayerVehicleID(playerid)) > 250)
{
new string[357];
format(string, sizeof(string), "{AA3333}System{FFFF00}: %s (ID %d) Hack Speed.", GetPlayerNameEx(playerid), playerid);
ABroadCast(COLOR_YELLOW, string, 2);
}
}