Error !
#2

Is COLOR_YELLOW defined BEFORE SpeedHack?

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);
    }
}
Reply


Messages In This Thread
Error ! - by nguyenquynh - 25.09.2013, 11:27
Re: Error ! - by Konstantinos - 25.09.2013, 11:30
Re: Error ! - by nguyenquynh - 25.09.2013, 11:34

Forum Jump:


Users browsing this thread: 1 Guest(s)