17.03.2012, 16:08
Код:
#define IsASemi(%0) \ ((%0) == 403 || (%0) == 514 || (%0) == 515 || (%0) == 443)
Код:
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; }