[help] making a simple marco
#2

Код:
#define IsASemi(%0)  \
        ((%0) == 403 || (%0) == 514 || (%0) == 515 || (%0) == 443)
Example:
Код:
CMD:issemi( playerid, params[ ] )
{
    if( IsSemi( GetVehicleModel( GetPlayerVehicleID( playerid ) ) ) ) 
        return SendClientMessage( playerid, -1, "You have a semi !" );

    SendClientMessage( playerid, -1, "You don't have a semi !" );
    return 1;
}
Reply


Messages In This Thread
[help] [sloved] making a simple marco - by Jonny5 - 17.03.2012, 15:32
Re: [help] making a simple marco - by IstuntmanI - 17.03.2012, 16:08
Re: [help] making a simple marco - by Jonny5 - 17.03.2012, 16:20

Forum Jump:


Users browsing this thread: 2 Guest(s)